mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 22:27:22 +01:00
itest: assert no failed updates in test
So that this fails earlier on if the actual call to UpdateChannelPolicy fails.
This commit is contained in:
@@ -254,7 +254,8 @@ func testUpdateChannelPolicy(ht *lntest.HarnessTest) {
|
|||||||
ChanPoint: chanPoint,
|
ChanPoint: chanPoint,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
bob.RPC.UpdateChannelPolicy(req)
|
updateResp := bob.RPC.UpdateChannelPolicy(req)
|
||||||
|
require.Empty(ht, updateResp.FailedUpdates, 0)
|
||||||
|
|
||||||
// Wait for all nodes to have seen the policy update done by Bob.
|
// Wait for all nodes to have seen the policy update done by Bob.
|
||||||
assertNodesPolicyUpdate(ht, nodes, bob, expectedPolicy, chanPoint)
|
assertNodesPolicyUpdate(ht, nodes, bob, expectedPolicy, chanPoint)
|
||||||
|
|||||||
Reference in New Issue
Block a user