add testing fmt

pull/4510/head
Diego Nava 1 year ago
parent 6428430446
commit aa0ad97a18
No known key found for this signature in database
GPG Key ID: 61AFC8738DA8B8B1
  1. 2
      core/state_processor.go

@ -312,7 +312,7 @@ func ApplyTransaction(config *params.ChainConfig, bc ChainContext, author *commo
// Apply the transaction to the current state (included in the env)
result, err := ApplyMessage(vmenv, msg, gp)
if err != nil {
return nil, nil, nil, 0, fmt.Errorf("apply failed from='%s' to='%s' balance='%s': %w", msg.From().Hex(), msg.To().Hex(), statedb.GetBalance(msg.From()).String(), err)
return nil, nil, nil, 0, fmt.Errorf("apply failed from='%s' balance='%s' type='%s' value='%s': %w", msg.From().Hex(), statedb.GetBalance(msg.From()).String(), txType, tx.Value().String(), err)
}
// Update the state with pending changes
var root []byte

Loading…
Cancel
Save