aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/vm_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/vm_test.go')
-rw-r--r--ethchain/vm_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/vm_test.go b/ethchain/vm_test.go
index 85ec4c693..745005b09 100644
--- a/ethchain/vm_test.go
+++ b/ethchain/vm_test.go
@@ -112,7 +112,8 @@ func TestRun4(t *testing.T) {
// Contract addr as test address
account := NewAccount(ContractAddr, big.NewInt(10000000))
- callerClosure := NewClosure(account, MakeContract(callerTx, state), state, big.NewInt(1000000000), new(big.Int))
+ c := MakeContract(callerTx, state)
+ callerClosure := NewClosure(account, c, c.script, state, big.NewInt(1000000000), new(big.Int))
vm := NewVm(state, RuntimeVars{
origin: account.Address(),