Added the possibility for debug hooks during closure call
This commit is contained in:
@ -327,7 +327,7 @@ func (sm *StateManager) ProcessContract(contract *Contract, tx *Transaction, blo
|
||||
// XXX Tx data? Could be just an argument to the closure instead
|
||||
txData: nil,
|
||||
})
|
||||
closure.Call(vm, nil)
|
||||
closure.Call(vm, nil, nil)
|
||||
|
||||
// Update the account (refunds)
|
||||
sm.procState.UpdateAccount(tx.Sender(), caller)
|
||||
|
Reference in New Issue
Block a user