itest: add temp fix to bring back btcd build

This commit is contained in:
yyforyongyu 2022-11-08 14:15:38 +08:00
parent 4b558c3af5
commit b7816489a1
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868
2 changed files with 11 additions and 0 deletions

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
}

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")