We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387cc2d commit ddda6e5Copy full SHA for ddda6e5
src/payment/unified_qr.rs
@@ -95,7 +95,7 @@ impl UnifiedQrPayment {
95
Ok(offer) => Some(offer),
96
Err(e) => {
97
log_error!(self.logger, "Failed to create offer: {}", e);
98
- return Err(Error::OfferCreationFailed);
+ None
99
},
100
};
101
@@ -111,7 +111,7 @@ impl UnifiedQrPayment {
111
Ok(invoice) => Some(invoice),
112
113
log_error!(self.logger, "Failed to create invoice {}", e);
114
- return Err(Error::InvoiceCreationFailed);
115
116
117
0 commit comments