File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments