lnd_test: use defaultBitcoinTimeLockDelta instead of defaultBitcoinForwardingPolicy.TimeLockDelta
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -1095,7 +1095,7 @@ func testChannelForceClosure(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
// TODO(roasbeef): should check default value in config here
|
// TODO(roasbeef): should check default value in config here
|
||||||
// instead, or make delay a param
|
// instead, or make delay a param
|
||||||
defaultCSV := uint32(4)
|
defaultCSV := uint32(4)
|
||||||
defaultCLTV := defaultBitcoinForwardingPolicy.TimeLockDelta
|
defaultCLTV := uint32(defaultBitcoinTimeLockDelta)
|
||||||
|
|
||||||
// Since we'd like to test failure scenarios with outstanding htlcs,
|
// Since we'd like to test failure scenarios with outstanding htlcs,
|
||||||
// we'll introduce another node into our test network: Carol.
|
// we'll introduce another node into our test network: Carol.
|
||||||
|
|||||||
Reference in new issue
Block a user