rust-lightning/lightning
Valentine Wallace 351349c845
Fix bug in onion message payload decode
Previously, we were decoding payload lengths as a VarInt. Per the spec, this is
wrong -- it should be decoded as a BigSize.  This bug also exists in our
payment payload decoding, to be fixed separately.

Upcoming reply path tests caught this bug because we hadn't encoded a payload
greater than 253 before, so we hadn't hit the problem that VarInts are encoded
as little-endian whereas BigSizes are encoded as big-endian.
2022-08-23 20:33:58 -04:00
..
src Fix bug in onion message payload decode 2022-08-23 20:33:58 -04:00
Cargo.toml Update bitcoin crate to 0.29.0 2022-08-11 00:21:26 +02:00