discovery: add retransmit delay to gosipper_test

This commit is contained in:
Brandon authored and Olaoluwa Osuntokun committed 2017-10-04 20:42:27 -07:00
1 parent e1ea0aafe8
commit cce75bbb14
1 file changed
+2
+2
View File
@@ -56,6 +56,7 @@ var (
nodeKeyPub2 = nodeKeyPriv2.PubKey() nodeKeyPub2 = nodeKeyPriv2.PubKey()
trickleDelay = time.Millisecond * 100 trickleDelay = time.Millisecond * 100
retransmitDelay = time.Hour * 1
proofMatureDelta uint32 proofMatureDelta uint32
) )
@@ -442,6 +443,7 @@ func createTestCtx(startHeight uint32) (*testCtx, func(), error) {
}, },
Router: router, Router: router,
TrickleDelay: trickleDelay, TrickleDelay: trickleDelay,
RetransmitDelay: retransmitDelay,
ProofMatureDelta: proofMatureDelta, ProofMatureDelta: proofMatureDelta,
DB: db, DB: db,
}, nodeKeyPub1) }, nodeKeyPub1)