mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 07:23:25 +00:00
lnbase: fix payments
This commit is contained in:
parent
1b030fca78
commit
08d20ce187
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,6 @@ class Peer(PrintError):
|
|||
self.revoke(chan)
|
||||
sig_64, htlc_sigs = chan.sign_next_commitment()
|
||||
res = failure_coro.result()
|
||||
payment_succeeded = True
|
||||
else:
|
||||
failure_coro.cancel()
|
||||
update_fulfill_htlc_msg = fulfill_coro.result()
|
||||
|
@ -903,6 +902,7 @@ class Peer(PrintError):
|
|||
msat_remote, msat_local)
|
||||
sig_64 = sign_and_get_sig_string(bare_ctx, chan.local_config, chan.remote_config)
|
||||
res = bh2u(preimage)
|
||||
payment_succeeded = True
|
||||
|
||||
self.send_message(gen_msg("commitment_signed", channel_id=chan.channel_id, signature=sig_64, num_htlcs=0))
|
||||
await self.receive_revoke(chan)
|
||||
|
|
Loading…
Add table
Reference in a new issue