aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
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)