aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-30 05:54:48 +0800
committerobscuren <geffobscura@gmail.com>2014-05-30 05:54:48 +0800
commit8fcba0eb1e947061aadeea1059830dbcdfd2ef44 (patch)
treee177814f0ef5f6016e751c3a495ba487c2ea6229 /ethchain
parent9bb7633254f5ded891f1162783bc06c1b4d131a0 (diff)
downloaddexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.tar.gz
dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.tar.zst
dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.zip
fixed test
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/state_test.go1
-rw-r--r--ethchain/vm_test.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/ethchain/state_test.go b/ethchain/state_test.go
index 4cc3fdf75..292129953 100644
--- a/ethchain/state_test.go
+++ b/ethchain/state_test.go
@@ -1,7 +1,6 @@
package ethchain
import (
- "fmt"
"github.com/ethereum/eth-go/ethdb"
"github.com/ethereum/eth-go/ethutil"
"testing"
diff --git a/ethchain/vm_test.go b/ethchain/vm_test.go
index 520f9a2ed..518a88766 100644
--- a/ethchain/vm_test.go
+++ b/ethchain/vm_test.go
@@ -62,7 +62,7 @@ func TestRun4(t *testing.T) {
Diff: big.NewInt(256),
})
var ret []byte
- ret, e = callerClosure.Call(vm, nil, nil)
+ ret, _, e = callerClosure.Call(vm, nil, nil)
if e != nil {
fmt.Println("error", e)
}