Skip to content

Commit

Permalink
Expanded log.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanIliev545 committed Sep 22, 2023
1 parent f4dfa3d commit 0bee81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/enclave/components/batch_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (executor *batchExecutor) payL1Fees(stateDB *state.StateDB, context *BatchE
continue
}
if accBalance.Cmp(cost) == -1 {
executor.logger.Info("insufficient account balance for tx", log.TxKey, tx.Hash(), "addr", sender.Hex())
executor.logger.Info(fmt.Sprintf("insufficient account balance for tx - want: %d have: %d", cost, accBalance), log.TxKey, tx.Hash(), "addr", sender.Hex())
continue
}
stateDB.SubBalance(*sender, cost)
Expand Down

0 comments on commit 0bee81d

Please sign in to comment.