From 0bee81d6b999cfbf2259ad3a0717451b2c1714a3 Mon Sep 17 00:00:00 2001 From: StefanIliev545 Date: Fri, 22 Sep 2023 15:15:30 +0300 Subject: [PATCH] Expanded log. --- go/enclave/components/batch_executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/enclave/components/batch_executor.go b/go/enclave/components/batch_executor.go index 71bda70edd..305097f9c3 100644 --- a/go/enclave/components/batch_executor.go +++ b/go/enclave/components/batch_executor.go @@ -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)