1
0

test_lnpeer: add test: multihop payment that routes around failure

This would have caught the overpayment bug fixed in
693583edc5
This commit is contained in:
SomberNight
2021-03-02 18:35:07 +01:00
parent 750d8cfab5
commit 9310e9023e
3 changed files with 66 additions and 9 deletions

View File

@@ -251,7 +251,7 @@ class Outpoint(StoredObject):
class HtlcLog(NamedTuple):
success: bool
amount_msat: int
amount_msat: int # amount for receiver (e.g. from invoice)
route: Optional['LNPaymentRoute'] = None
preimage: Optional[bytes] = None
error_bytes: Optional[bytes] = None