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 @@ -10272,8 +10272,8 @@ where
10272
10272
};
10273
10273
10274
10274
match response {
10275
- Ok(invoice) => return responder.respond(OffersMessage::Invoice(invoice)),
10276
- Err(error) => return responder.respond(OffersMessage::InvoiceError(error.into())),
10275
+ Ok(invoice) => responder.respond(OffersMessage::Invoice(invoice)),
10276
+ Err(error) => responder.respond(OffersMessage::InvoiceError(error.into())),
10277
10277
}
10278
10278
},
10279
10279
OffersMessage::Invoice(invoice) => {
@@ -10300,14 +10300,14 @@ where
10300
10300
self.logger,
10301
10301
"A response was generated, but there is no reply_path specified for sending the response."
10302
10302
);
10303
- return ResponseInstruction::NoResponse;
10303
+ ResponseInstruction::NoResponse
10304
10304
}
10305
- _ => return ResponseInstruction::NoResponse,
10305
+ _ => ResponseInstruction::NoResponse,
10306
10306
}
10307
10307
},
10308
10308
OffersMessage::InvoiceError(invoice_error) => {
10309
10309
log_trace!(self.logger, "Received invoice_error: {}", invoice_error);
10310
- return ResponseInstruction::NoResponse;
10310
+ ResponseInstruction::NoResponse
10311
10311
},
10312
10312
}
10313
10313
}
You can’t perform that action at this time.
0 commit comments