diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-30 05:54:48 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-30 05:54:48 +0800 |
commit | 8fcba0eb1e947061aadeea1059830dbcdfd2ef44 (patch) | |
tree | e177814f0ef5f6016e751c3a495ba487c2ea6229 | |
parent | 9bb7633254f5ded891f1162783bc06c1b4d131a0 (diff) | |
download | dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.tar dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.tar.gz dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.tar.bz2 dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.tar.lz dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.tar.xz dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.tar.zst dexon-8fcba0eb1e947061aadeea1059830dbcdfd2ef44.zip |
fixed test
-rw-r--r-- | ethchain/state_test.go | 1 | ||||
-rw-r--r-- | ethchain/vm_test.go | 2 | ||||
-rw-r--r-- | peer.go | 2 |
3 files changed, 2 insertions, 3 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) } @@ -440,7 +440,7 @@ func (p *Peer) HandleInbound() { ethutil.Config.Log.Debugf("[PEER] Found canonical block, returning chain from: %x ", parent.Hash()) chain := p.ethereum.BlockChain().GetChainFromHash(parent.Hash(), amountOfBlocks) if len(chain) > 0 { - ethutil.Config.Log.Debugf("[PEER] Returning %d blocks: %x ", len(chain), parent.Hash()) + //ethutil.Config.Log.Debugf("[PEER] Returning %d blocks: %x ", len(chain), parent.Hash()) p.QueueMessage(ethwire.NewMessage(ethwire.MsgBlockTy, chain)) } else { p.QueueMessage(ethwire.NewMessage(ethwire.MsgBlockTy, []interface{}{})) |