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() {
1205
1205
1206
1206
// Don't send the invoice request, but grab its reply path to use with a different request.
1207
1207
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 ( ) ;
1211
1211
#[ cfg( not( c_bindings) ) ] {
1212
1212
pending_invoice_request. reply_path
1213
1213
}
@@ -1224,8 +1224,8 @@ fn fails_authentication_when_handling_invoice_for_offer() {
1224
1224
// Swap out the reply path to force authentication to fail when handling the invoice since it
1225
1225
// will be sent over the wrong blinded path.
1226
1226
{
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 ( ) ;
1229
1229
#[ cfg( not( c_bindings) ) ] {
1230
1230
pending_invoice_request. reply_path = invalid_reply_path;
1231
1231
}
You can’t perform that action at this time.
0 commit comments