]> git.bitcoin.ninja Git - rust-lightning/commit
Remove unnecessary RecipientOnionFields clone.
authorValentine Wallace <vwallace@protonmail.com>
Mon, 15 Apr 2024 18:30:01 +0000 (14:30 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Tue, 14 May 2024 16:57:51 +0000 (09:57 -0700)
commit960dd658db6e66edd5255a5a4bddcbeb89a1e238
treeb589c594719f0b8cb9d447ef09ae3f4bff08c114
parente4e6e09b672dc929b4d8571975bd923a7a4486be
Remove unnecessary RecipientOnionFields clone.

Doable now that we take Vecs by reference in OutboundOnionPayload.
lightning/src/ln/channelmanager.rs
lightning/src/ln/onion_payment.rs
lightning/src/ln/onion_utils.rs
lightning/src/ln/outbound_payment.rs
lightning/src/ln/payment_tests.rs