mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
lnbase: do not assert only one htlc in commitment
This commit is contained in:
parent
1dc9e062df
commit
838b79f7b8
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ class Peer(PrintError):
|
|||
# add htlc
|
||||
htlc = {'amount_msat': amount_msat_htlc, 'payment_hash':payment_hash, 'cltv_expiry':cltv_expiry}
|
||||
chan.receive_htlc(htlc)
|
||||
assert (await self.receive_commitment(chan)) <= 1
|
||||
await self.receive_commitment(chan)
|
||||
self.revoke(chan)
|
||||
self.send_commitment(chan)
|
||||
await self.receive_revoke(chan)
|
||||
|
|
Loading…
Add table
Reference in a new issue