aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-07 21:11:54 +0800
committerobscuren <geffobscura@gmail.com>2014-08-07 21:11:54 +0800
commit7272577fe651a20618cf428475e2e57976c9599d (patch)
treeb2255ddc9a361df1ba7c47652d551dba6a23089e /peer.go
parentda50c751480da32036f41ccbeb1f292694ca0286 (diff)
downloadgo-tangerine-7272577fe651a20618cf428475e2e57976c9599d.tar.gz
go-tangerine-7272577fe651a20618cf428475e2e57976c9599d.tar.zst
go-tangerine-7272577fe651a20618cf428475e2e57976c9599d.zip
Added dns lookup
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 fa683e488..bd20bb2b9 100644
--- a/peer.go
+++ b/peer.go
@@ -449,7 +449,7 @@ func (p *Peer) HandleInbound() {
peerlogger.Infof("Attempting to catch (%x). Parent unknown\n", b.Hash())
p.catchingUp = false
- p.CatchupWithPeer(b.Hash())
+ p.CatchupWithPeer(b.PrevHash)
peerlogger.Infoln(b)