diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-21 21:47:55 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-21 21:47:55 +0800 |
commit | 2ea4c632d1673b762c1af11582364d9faa08c413 (patch) | |
tree | c9e87a5d79eb1bbeaee691a056a2e6974b6ba3f5 /ethchain/state_manager.go | |
parent | fa1db8d2dcbc12fd9b343e6572c541d92fe7cb55 (diff) | |
download | go-tangerine-2ea4c632d1673b762c1af11582364d9faa08c413.tar go-tangerine-2ea4c632d1673b762c1af11582364d9faa08c413.tar.gz go-tangerine-2ea4c632d1673b762c1af11582364d9faa08c413.tar.bz2 go-tangerine-2ea4c632d1673b762c1af11582364d9faa08c413.tar.lz go-tangerine-2ea4c632d1673b762c1af11582364d9faa08c413.tar.xz go-tangerine-2ea4c632d1673b762c1af11582364d9faa08c413.tar.zst go-tangerine-2ea4c632d1673b762c1af11582364d9faa08c413.zip |
Closure return, arguments fixed. Added proper tests
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r-- | ethchain/state_manager.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go index 50c777349..3b5507740 100644 --- a/ethchain/state_manager.go +++ b/ethchain/state_manager.go @@ -308,7 +308,7 @@ func (sm *StateManager) ProcessContract(contract *Contract, tx *Transaction, blo caller := sm.procState.GetAccount(tx.Sender()) closure := NewClosure(caller, contract, sm.procState, tx.Gas, tx.Value) vm := NewVm(sm.procState, RuntimeVars{ - origin: caller.Address, + origin: caller.Address(), blockNumber: block.BlockInfo().Number, prevHash: block.PrevHash, coinbase: block.Coinbase, |