Remove unused function

This commit is contained in:
Peter Fox 2019-09-23 11:48:25 +01:00
parent d140c2a00b
commit 7653213084
No known key found for this signature in database
GPG Key ID: FB5F75BD7CCBB092
1 changed files with 0 additions and 4 deletions

View File

@ -865,10 +865,6 @@ func (pm *ProtocolManager) makeInitialRaftPeers() (raftPeers []etcdRaft.Peer, pe
return
}
func sleep(duration time.Duration) {
<-time.NewTimer(duration).C
}
func blockExtendsChain(block *types.Block, chain *core.BlockChain) bool {
return block.ParentHash() == chain.CurrentBlock().Hash()
}