Skip to content

Commit

Permalink
f Use InvoiceRequestCreationFailed error in refund flow
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed May 29, 2024
1 parent f3384d8 commit da05085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/payment/bolt12.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ impl Bolt12Payment {
pub fn request_refund(&self, refund: &Refund) -> Result<Bolt12Invoice, Error> {
self.channel_manager.request_refund_payment(refund).map_err(|e| {
log_error!(self.logger, "Failed to request refund payment: {:?}", e);
Error::InvalidRefund
Error::InvoiceRequestCreationFailed
})
}

Expand Down

0 comments on commit da05085

Please sign in to comment.