1
0

Trampoline MPP: save fee level in sent_htlcs_info.

If multiple HTLCs fail at the same fee level with
TRAMPOLINE_INSUFFICIENT_FEE, bump trampoline_fee_level only once.
This commit is contained in:
ThomasV
2022-02-16 16:27:37 +01:00
parent 9fd18ae7f4
commit 4ebe41b3a7
3 changed files with 24 additions and 11 deletions

View File

@@ -323,6 +323,7 @@ class HtlcLog(NamedTuple):
error_bytes: Optional[bytes] = None
failure_msg: Optional['OnionRoutingFailure'] = None
sender_idx: Optional[int] = None
trampoline_fee_level: Optional[int] = None
def formatted_tuple(self):
route = self.route