mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-22 23:54:20 +01:00
cleanups: feeadjuster, drain and summary
This commit is contained in:
@@ -293,7 +293,7 @@ def try_for_htlc_fee(plugin, payload, peer_id, amount, chunk, spendable_before):
|
||||
return False # should not happen, but maybe API changes
|
||||
payload['success_msg'].append(f"{amount + fees}msat sent over {len(route)} "
|
||||
f"hops to {payload['command']} {amount}msat "
|
||||
f"[{chunk + 1}/{payload['chunks']}")
|
||||
f"[{chunk + 1}/{payload['chunks']}]")
|
||||
# we need to wait for HTLC to resolve, so remaining amounts
|
||||
# can be calculated correctly for the next chunk
|
||||
wait_ours(plugin, payload['scid'], ours)
|
||||
|
||||
Reference in New Issue
Block a user