mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 13:27:56 +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:
parent
adcaa8802f
commit
fd2ea411be
@ -254,7 +254,8 @@ func testUpdateChannelPolicy(ht *lntest.HarnessTest) {
|
||||
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.
|
||||
assertNodesPolicyUpdate(ht, nodes, bob, expectedPolicy, chanPoint)
|
||||
|
Loading…
Reference in New Issue
Block a user