aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-14 19:57:04 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-14 19:57:04 +0800
commit3ac74b1e7840720e8ae426c751328ed7595188a8 (patch)
tree8c64b6a9522cd98487ad1ad5c8d3d31c43c159ad /peer.go
parent0512113bdd5cc55ae35abd442b668ab5ed7a116b (diff)
downloaddexon-3ac74b1e7840720e8ae426c751328ed7595188a8.tar
dexon-3ac74b1e7840720e8ae426c751328ed7595188a8.tar.gz
dexon-3ac74b1e7840720e8ae426c751328ed7595188a8.tar.bz2
dexon-3ac74b1e7840720e8ae426c751328ed7595188a8.tar.lz
dexon-3ac74b1e7840720e8ae426c751328ed7595188a8.tar.xz
dexon-3ac74b1e7840720e8ae426c751328ed7595188a8.tar.zst
dexon-3ac74b1e7840720e8ae426c751328ed7595188a8.zip
Implemented IsUpToDate to mark the node as ready to start mining
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/peer.go b/peer.go
index 70759f246..0f968d664 100644
--- a/peer.go
+++ b/peer.go
@@ -389,6 +389,8 @@ func (p *Peer) HandleInbound() {
p.CatchupWithPeer(p.ethereum.BlockChain().CurrentBlock.Hash())
}
}
+
+ p.catchingUp = false
case ethwire.MsgTxTy:
// If the message was a transaction queue the transaction
// in the TxPool where it will undergo validation and