Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

holdinvoice RPC plugin #6611

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
return error if invoice already got deleted
  • Loading branch information
daywalker90 committed Oct 5, 2023
commit c3c74e34c8e56e6e3fa61a0ffd51785e69568d12
2 changes: 2 additions & 0 deletions plugins/holdinvoice/src/hold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ pub async fn hold_invoice_lookup(
htlc_expiry
}));
}
} else {
return Ok(payment_hash_missing_error(&pay_hash));
}
}
Holdstate::Accepted => {
Expand Down