From: Elias Rohrer Date: Wed, 21 Jun 2023 07:25:07 +0000 (+0200) Subject: Merge pull request #2319 from valentinewallace/2023-05-forward-less-than-onion X-Git-Tag: v0.0.116-alpha1~6 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=15b1c9b83715ed98fa8c538195d13d44967031fb;p=rust-lightning Merge pull request #2319 from valentinewallace/2023-05-forward-less-than-onion Allow forwarding less than the amount in the onion --- 15b1c9b83715ed98fa8c538195d13d44967031fb diff --cc lightning/src/events/mod.rs index fa4c86cd0,3fe17475f..f4c4af7e9 --- a/lightning/src/events/mod.rs +++ b/lightning/src/events/mod.rs @@@ -1056,8 -1080,9 +1078,9 @@@ impl MaybeReadable for Event let mut payment_preimage = None; let mut payment_secret = None; let mut amount_msat = 0; + let mut counterparty_skimmed_fee_msat_opt = None; let mut receiver_node_id = None; - let mut _user_payment_id = None::; // For compatibility with 0.0.103 and earlier + let mut _user_payment_id = None::; // Used in 0.0.103 and earlier, no longer written in 0.0.116+. let mut via_channel_id = None; let mut claim_deadline = None; let mut via_user_channel_id = None;