aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-15 02:36:21 +0800
committerobscuren <geffobscura@gmail.com>2014-05-15 02:36:21 +0800
commita6b9ea05e8dc291f69f9384071864a475e7872e6 (patch)
treef9ff7095a0e008c60d610361e0f6ac81a53a6728 /peer.go
parent166853aed94484b327a89a2554312f6739fce8a9 (diff)
downloaddexon-a6b9ea05e8dc291f69f9384071864a475e7872e6.tar
dexon-a6b9ea05e8dc291f69f9384071864a475e7872e6.tar.gz
dexon-a6b9ea05e8dc291f69f9384071864a475e7872e6.tar.bz2
dexon-a6b9ea05e8dc291f69f9384071864a475e7872e6.tar.lz
dexon-a6b9ea05e8dc291f69f9384071864a475e7872e6.tar.xz
dexon-a6b9ea05e8dc291f69f9384071864a475e7872e6.tar.zst
dexon-a6b9ea05e8dc291f69f9384071864a475e7872e6.zip
Test
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index a509178d2..3e1e4a181 100644
--- a/peer.go
+++ b/peer.go
@@ -442,7 +442,7 @@ func (p *Peer) HandleInbound() {
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{}))
+ p.QueueMessage(ethwire.NewMessage(ethwire.MsgBlockTy, []interface{}{}))
}
} else {