aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-11 09:05:58 +0800
committerobscuren <geffobscura@gmail.com>2014-04-11 09:05:58 +0800
commit7d6ba88d2b4a263f2a898c3ef6d40e5258f96bb0 (patch)
treeb529de034a77da5a4a35526eb4800863ddf1fbdb /ethchain/state_manager.go
parentd927c154e77027924756d3538139ce0910b1c23a (diff)
parent25dd46061fc3b732056ea87fe4a9696e160179cc (diff)
downloadgo-tangerine-7d6ba88d2b4a263f2a898c3ef6d40e5258f96bb0.tar
go-tangerine-7d6ba88d2b4a263f2a898c3ef6d40e5258f96bb0.tar.gz
go-tangerine-7d6ba88d2b4a263f2a898c3ef6d40e5258f96bb0.tar.bz2
go-tangerine-7d6ba88d2b4a263f2a898c3ef6d40e5258f96bb0.tar.lz
go-tangerine-7d6ba88d2b4a263f2a898c3ef6d40e5258f96bb0.tar.xz
go-tangerine-7d6ba88d2b4a263f2a898c3ef6d40e5258f96bb0.tar.zst
go-tangerine-7d6ba88d2b4a263f2a898c3ef6d40e5258f96bb0.zip
Merge branch 'split' into develop
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r--ethchain/state_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index 0f8ef19a7..3043c3d15 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -316,7 +316,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)
+ closure := NewClosure(caller, contract, contract.script, sm.procState, tx.Gas, tx.Value)
vm := NewVm(sm.procState, RuntimeVars{
origin: caller.Address(),
blockNumber: block.BlockInfo().Number,