funding test: return static num conf instead of default value

This commit is contained in:
Johan T. Halseth committed 2018-01-12 22:56:52 +01:00
1 parent 10bd46ac72
commit 633878d497
1 file changed
+1 -2
+1 -2
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