itest: add temp fix to bring back btcd build

This commit is contained in:
yyforyongyu committed 2022-11-10 13:59:17 +08:00
1 parent 4b558c3af5
commit b7816489a1
2 files changed
+11

No files matched your search

+7
View File
@@ -90,6 +90,13 @@ func openChannelAndAssert(t *harnessTest, net *lntest.NetworkHarness,
"unable to assert channel existence",
)
// They should also notice this channel from topology subscription.
err = alice.WaitForNetworkChannelOpen(fundingChanPoint)
require.NoError(t.t, err)
err = bob.WaitForNetworkChannelOpen(fundingChanPoint)
require.NoError(t.t, err)
return fundingChanPoint
}
+4
View File
@@ -739,6 +739,10 @@ func testUpdateChannelPolicyForPrivateChannel(net *lntest.NetworkHarness,
)
defer closeChannelAndAssert(t, net, net.Bob, chanPointBobCarol, false)
// Carol should be aware of the channel between Alice and Bob.
err = carol.WaitForNetworkChannelOpen(chanPointAliceBob)
require.NoError(t.t, err)
// Get Bob's funding point.
bobChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointBobCarol)
require.NoError(t.t, err, "unable to get txid")