diff --git a/electrum/lnbase.py b/electrum/lnbase.py index 539d9ad76..1e2edeadb 100644 --- a/electrum/lnbase.py +++ b/electrum/lnbase.py @@ -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)