aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-10 00:27:54 +0800
committerobscuren <geffobscura@gmail.com>2014-04-10 00:27:54 +0800
commite09f0a5f2c1e1b46226656dbac9a4ae10e0dcd14 (patch)
tree7b1ce2f5cd83e3a345cf26230afd41e48110e015 /ethchain/state_manager.go
parent4f2e9c2640eaa962d085db329221bfd6f1a1799e (diff)
downloaddexon-e09f0a5f2c1e1b46226656dbac9a4ae10e0dcd14.tar
dexon-e09f0a5f2c1e1b46226656dbac9a4ae10e0dcd14.tar.gz
dexon-e09f0a5f2c1e1b46226656dbac9a4ae10e0dcd14.tar.bz2
dexon-e09f0a5f2c1e1b46226656dbac9a4ae10e0dcd14.tar.lz
dexon-e09f0a5f2c1e1b46226656dbac9a4ae10e0dcd14.tar.xz
dexon-e09f0a5f2c1e1b46226656dbac9a4ae10e0dcd14.tar.zst
dexon-e09f0a5f2c1e1b46226656dbac9a4ae10e0dcd14.zip
Split code for contracts
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 95e46e41d..7a2a762b2 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -311,7 +311,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,