mirror of https://github.com/poanetwork/quorum.git
Remove unused function
This commit is contained in:
parent
d140c2a00b
commit
7653213084
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue