From f1c6d40db85c4bba2427e974bcd114b7851f7856 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Wed, 20 Dec 2017 17:31:46 +0100 Subject: [PATCH] lnd_test: use defaultBitcoinTimeLockDelta instead of defaultBitcoinForwardingPolicy.TimeLockDelta --- lnd_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnd_test.go b/lnd_test.go index 0292e278..a9a0ab72 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -1095,7 +1095,7 @@ func testChannelForceClosure(net *lntest.NetworkHarness, t *harnessTest) { // TODO(roasbeef): should check default value in config here // instead, or make delay a param defaultCSV := uint32(4) - defaultCLTV := defaultBitcoinForwardingPolicy.TimeLockDelta + defaultCLTV := uint32(defaultBitcoinTimeLockDelta) // Since we'd like to test failure scenarios with outstanding htlcs, // we'll introduce another node into our test network: Carol.