discovery: set AnnSigner for mock signer in testCtx
This commit is contained in:
parent
13b91e6ea1
commit
aba32de1f4
@ -730,6 +730,7 @@ func createTestCtx(startHeight uint32) (*testCtx, func(), error) {
|
||||
HistoricalSyncTicker: ticker.NewForce(DefaultHistoricalSyncInterval),
|
||||
ActiveSyncerTimeoutTicker: ticker.NewForce(DefaultActiveSyncerTimeout),
|
||||
NumActiveSyncers: 3,
|
||||
AnnSigner: &mockSigner{nodeKeyPriv1},
|
||||
}, nodeKeyPub1)
|
||||
|
||||
if err := gossiper.Start(); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user