lnpeer: more detailed logging in maybe_fulfill_htlc
This commit is contained in:
@@ -1300,7 +1300,7 @@ def format_short_channel_id(short_channel_id: Optional[bytes]):
|
||||
@attr.s(frozen=True)
|
||||
class UpdateAddHtlc:
|
||||
amount_msat = attr.ib(type=int, kw_only=True)
|
||||
payment_hash = attr.ib(type=bytes, kw_only=True, converter=hex_to_bytes)
|
||||
payment_hash = attr.ib(type=bytes, kw_only=True, converter=hex_to_bytes, repr=lambda val: val.hex())
|
||||
cltv_expiry = attr.ib(type=int, kw_only=True)
|
||||
timestamp = attr.ib(type=int, kw_only=True)
|
||||
htlc_id = attr.ib(type=int, kw_only=True, default=None)
|
||||
|
||||
Reference in New Issue
Block a user