From: Matt Corallo Date: Fri, 16 Feb 2024 19:26:22 +0000 (+0000) Subject: Fix `Route` serialization round-trip X-Git-Tag: v0.0.123-beta~63^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;ds=sidebyside;h=4026d4efd1eb92c47fe567eee6a9cd8824dc1cf2;hp=4026d4efd1eb92c47fe567eee6a9cd8824dc1cf2;p=rust-lightning Fix `Route` serialization round-trip When the `max_total_routing_fee_msat` parameter was added to `RouteParameters`, the serialization used `map` to get the max fee, accidentally writing an `Option>`, but then read it as an `Option`. Thus, any `Route`s with a `route_params` written will fail to be read back. Luckily, this is an incredibly rarely-used bit of code, so only one user managed to hit it. ---