Skip to content

Commit 74c1449

Browse files
committed
f - fix typo
1 parent 163a3da commit 74c1449

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lightning/src/ln/offers_tests.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,9 +1205,9 @@ fn fails_authentication_when_handling_invoice_for_offer() {
12051205

12061206
// Don't send the invoice request, but grab its reply path to use with a different request.
12071207
let invalid_reply_path = {
1208-
let mut penidng_offers_messages = david.node.pending_offers_messages.lock().unwrap();
1209-
let pending_invoice_request = penidng_offers_messages.pop().unwrap();
1210-
penidng_offers_messages.clear();
1208+
let mut pending_offers_messages = david.node.pending_offers_messages.lock().unwrap();
1209+
let pending_invoice_request = pending_offers_messages.pop().unwrap();
1210+
pending_offers_messages.clear();
12111211
#[cfg(not(c_bindings))] {
12121212
pending_invoice_request.reply_path
12131213
}
@@ -1224,8 +1224,8 @@ fn fails_authentication_when_handling_invoice_for_offer() {
12241224
// Swap out the reply path to force authentication to fail when handling the invoice since it
12251225
// will be sent over the wrong blinded path.
12261226
{
1227-
let mut penidng_offers_messages = david.node.pending_offers_messages.lock().unwrap();
1228-
let mut pending_invoice_request = penidng_offers_messages.first_mut().unwrap();
1227+
let mut pending_offers_messages = david.node.pending_offers_messages.lock().unwrap();
1228+
let mut pending_invoice_request = pending_offers_messages.first_mut().unwrap();
12291229
#[cfg(not(c_bindings))] {
12301230
pending_invoice_request.reply_path = invalid_reply_path;
12311231
}

0 commit comments

Comments
 (0)