funding test: return static num conf instead of default value

This commit is contained in:
Johan T. Halseth 2017-12-19 17:29:45 +01:00
parent 10bd46ac72
commit 633878d497
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26
1 changed files with 1 additions and 2 deletions

View File

@ -264,8 +264,7 @@ func createTestFundingManager(t *testing.T, privKey *btcec.PrivateKey,
},
NumRequiredConfs: func(chanAmt btcutil.Amount,
pushAmt lnwire.MilliSatoshi) uint16 {
return uint16(cfg.DefaultNumChanConfs)
return 3
},
RequiredRemoteDelay: func(amt btcutil.Amount) uint16 {
return 4