From 49da6a8d809ecc5f5b1f3c5ccea9ebcd45d4e1c3 Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 3 Mar 2015 11:56:28 +0100 Subject: Fixed test helper --- tests/helper/vm.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/helper/vm.go') diff --git a/tests/helper/vm.go b/tests/helper/vm.go index a1a1a98ca..8811936fa 100644 --- a/tests/helper/vm.go +++ b/tests/helper/vm.go @@ -109,6 +109,8 @@ func (self *Env) Call(caller vm.ContextRef, addr, data []byte, gas, price, value func (self *Env) CallCode(caller vm.ContextRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) { if self.vmTest && self.depth > 0 { caller.ReturnGas(gas, price) + + return nil, nil } exe := self.vm(caller.Address(), data, gas, price, value) return exe.Call(addr, caller) -- cgit v1.2.3