Merge branch 'main' of github.com:harmony-one/harmony into main

pull/3405/head
Rongjian Lan 4 years ago
commit d44f0afd72
  1. 3
      consensus/consensus_v2.go

@ -433,7 +433,7 @@ func (consensus *Consensus) Start(
// All blocks returned are guaranteed to pass the verification.
type LastMileBlockIter struct {
blockCandidates []*types.Block
fbftLog FBFTLog
fbftLog *FBFTLog
verify func(*types.Block) error
curIndex int
logger *zerolog.Logger
@ -453,6 +453,7 @@ func (consensus *Consensus) GetLastMileBlockIter(bnStart uint64) (*LastMileBlock
}
return &LastMileBlockIter{
blockCandidates: blocks,
fbftLog: consensus.FBFTLog,
verify: consensus.BlockVerifier,
curIndex: 0,
logger: consensus.getLogger(),

Loading…
Cancel
Save