lnd_test: remove itest race caused by mining extra block

This commit is contained in:
Conner Fromknecht 2018-06-28 18:36:10 -07:00
parent 9205720bea
commit 92cbfbccca
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -7777,7 +7777,7 @@ func testMultiHopRemoteForceCloseOnChainHtlcTimeout(net *lntest.NetworkHarness,
// We'll mine csvDelay blocks in order to generate the sweep transaction // We'll mine csvDelay blocks in order to generate the sweep transaction
// of Bob's funding output. // of Bob's funding output.
if _, err := net.Miner.Node.Generate(csvDelay); err != nil { if _, err := net.Miner.Node.Generate(csvDelay - 1); err != nil {
t.Fatalf("unable to generate blocks: %v", err) t.Fatalf("unable to generate blocks: %v", err)
} }