We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9bc72 commit 8c001c0Copy full SHA for 8c001c0
bolt11/models/routehint.py
@@ -41,10 +41,10 @@ def data(self) -> Bits:
41
for route in self.routes:
42
route_hints.append(
43
BitArray(hex=route.public_key)
44
- + pack("intbe:64", scid_to_int(route.short_channel_id))
45
- + pack("intbe:32", route.base_fee)
46
- + pack("intbe:32", route.ppm_fee)
47
- + pack("intbe:16", route.cltv_expiry_delta)
+ + pack("uintbe:64", scid_to_int(route.short_channel_id))
+ + pack("uintbe:32", route.base_fee)
+ + pack("uintbe:32", route.ppm_fee)
+ + pack("uintbe:16", route.cltv_expiry_delta)
48
)
49
50
return route_hints
0 commit comments