Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion accounts/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func (s *InterceptorService) UpdateAccount(accountID AccountID, accountBalance,

// As this function updates account balances, we require that the
// service is running before we execute it.
if s.isRunningUnsafe() {
if !s.isRunningUnsafe() {
// This case can only happen if the service is disabled while
// we we're processing a request.
return nil, ErrAccountServiceDisabled
Expand Down