mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 06:21:40 +01:00
discovery: add retransmit delay to gosipper_test
This commit is contained in:
parent
e1ea0aafe8
commit
cce75bbb14
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@ var (
|
|||
nodeKeyPub2 = nodeKeyPriv2.PubKey()
|
||||
|
||||
trickleDelay = time.Millisecond * 100
|
||||
retransmitDelay = time.Hour * 1
|
||||
proofMatureDelta uint32
|
||||
)
|
||||
|
||||
|
@ -442,6 +443,7 @@ func createTestCtx(startHeight uint32) (*testCtx, func(), error) {
|
|||
},
|
||||
Router: router,
|
||||
TrickleDelay: trickleDelay,
|
||||
RetransmitDelay: retransmitDelay,
|
||||
ProofMatureDelta: proofMatureDelta,
|
||||
DB: db,
|
||||
}, nodeKeyPub1)
|
||||
|
|
Loading…
Add table
Reference in a new issue