Skip to content

Commit 83db298

Browse files
committed
f tweak var name
1 parent 69e84d4 commit 83db298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5920,9 +5920,9 @@ impl<'a, Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref>
59205920
session_priv_bytes[..].copy_from_slice(&session_priv[..]);
59215921
match pending_outbound_payments.as_mut().unwrap().entry(payment_id) {
59225922
hash_map::Entry::Occupied(mut entry) => {
5923-
let readded = entry.get_mut().insert(session_priv_bytes, path_amt);
5923+
let newly_added = entry.get_mut().insert(session_priv_bytes, path_amt);
59245924
log_info!(args.logger, "{} a pending payment path for {} msat for session priv {} on an existing pending payment with payment hash {}",
5925-
if readded { "Added" } else { "Had" }, path_amt, log_bytes!(session_priv_bytes), log_bytes!(htlc.payment_hash.0));
5925+
if newly_added { "Added" } else { "Had" }, path_amt, log_bytes!(session_priv_bytes), log_bytes!(htlc.payment_hash.0));
59265926
},
59275927
hash_map::Entry::Vacant(entry) => {
59285928
entry.insert(PendingOutboundPayment::Retryable {

0 commit comments

Comments
 (0)