]> git.bitcoin.ninja Git - rust-lightning/commit
Set UpdateAddHTLC::skimmed_fee_msat on forward
authorValentine Wallace <vwallace@protonmail.com>
Wed, 24 May 2023 23:15:25 +0000 (19:15 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Tue, 20 Jun 2023 21:57:38 +0000 (17:57 -0400)
commit4cee62233cad5cc80e29208e7e7f633324a4abaf
tree78c2c63b78935d176392acb838942699aa1494e2
parent5a79d6cc53031abeac33ef2042847860414f8ea0
Set UpdateAddHTLC::skimmed_fee_msat on forward

So the receiver can verify it and approve underpaying HTLCs (see
ChannelConfig::accept_underpaying_htlcs).
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs