diff options
Diffstat (limited to 'core/syncer/consensus.go')
-rw-r--r-- | core/syncer/consensus.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/syncer/consensus.go b/core/syncer/consensus.go index 65068a4..b692b56 100644 --- a/core/syncer/consensus.go +++ b/core/syncer/consensus.go @@ -115,7 +115,12 @@ func NewConsensus( con.ctx, con.ctxCancel = context.WithCancel(context.Background()) _, con.initChainTipHeight = db.GetCompactionChainTipInfo() con.agreementModule = newAgreement( - con.receiveChan, con.pullChan, con.nodeSetCache, con.logger) + con.initChainTipHeight, + con.receiveChan, + con.pullChan, + con.nodeSetCache, + con.tsigVerifier, + con.logger) con.agreementWaitGroup.Add(1) go func() { defer con.agreementWaitGroup.Done() |