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),
|
HistoricalSyncTicker: ticker.NewForce(DefaultHistoricalSyncInterval),
|
||||||
ActiveSyncerTimeoutTicker: ticker.NewForce(DefaultActiveSyncerTimeout),
|
ActiveSyncerTimeoutTicker: ticker.NewForce(DefaultActiveSyncerTimeout),
|
||||||
NumActiveSyncers: 3,
|
NumActiveSyncers: 3,
|
||||||
|
AnnSigner: &mockSigner{nodeKeyPriv1},
|
||||||
}, nodeKeyPub1)
|
}, nodeKeyPub1)
|
||||||
|
|
||||||
if err := gossiper.Start(); err != nil {
|
if err := gossiper.Start(); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user