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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user