aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/blockpool.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-03-19 08:02:39 +0800
committerzelig <viktor.tron@gmail.com>2015-03-20 18:41:41 +0800
commit63cae9b9ac0e9e7fbdaf3ab44345c298f6d969c6 (patch)
treee73ae73298e1d68f2f8dada53bd9dcb0de71b5ef /blockpool/blockpool.go
parent137a9c9365dd9ec76d4a4aab7475d716457d00ae (diff)
downloadgo-tangerine-63cae9b9ac0e9e7fbdaf3ab44345c298f6d969c6.tar.gz
go-tangerine-63cae9b9ac0e9e7fbdaf3ab44345c298f6d969c6.tar.zst
go-tangerine-63cae9b9ac0e9e7fbdaf3ab44345c298f6d969c6.zip
uncomment status test, hack: skip the 2 unreliable fields
Diffstat (limited to 'blockpool/blockpool.go')
-rw-r--r--blockpool/blockpool.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/blockpool/blockpool.go b/blockpool/blockpool.go
index df3d14542..b8cac4913 100644
--- a/blockpool/blockpool.go
+++ b/blockpool/blockpool.go
@@ -603,7 +603,6 @@ func (self *BlockPool) AddBlock(block *types.Block, peerId string) {
if sender.currentBlock == nil {
plog.Debugf("AddBlock: add head block %s for peer <%s> (head: %s)", hex(hash), peerId, hex(sender.currentBlockHash))
sender.setChainInfoFromBlock(block)
- // sender.currentBlockC <- block
self.status.lock.Lock()
self.status.values.BlockHashes++