Return pending payment (#245)

* Return pending payment

* Simplify select loop

* Revert dart pubspec

* Add error logging for payment events without swap ids

Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>

---------

Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
This commit is contained in:
Ross Savage
2024-05-30 17:59:35 +02:00
committed by GitHub
parent 9554dcad19
commit dd00a0b328
9 changed files with 139 additions and 47 deletions

View File

@@ -59,6 +59,9 @@ pub enum PaymentError {
#[error("Boltz did not return any pairs from the request")]
PairsNotFound,
#[error("The payment timed out")]
PaymentTimeout,
#[error("Could not store the swap details locally")]
PersistError,