Closed holzeis closed 1 month ago
We generate a hodl invoice everytime the user gets to the fund channel screen. This invoice might not get paid an time out.
After the timeout the invoice will be automatically canceled and we get the canceled event.
At the moment that should set the invoice to failed, which is also not working because the hash is received in the wrong encoding.
Canceled
https://github.com/get10101/10101/blob/main/coordinator/src/node/invoice.rs
We generate a hodl invoice everytime the user gets to the fund channel screen. This invoice might not get paid an time out.
After the timeout the invoice will be automatically canceled and we get the canceled event.
At the moment that should set the invoice to failed, which is also not working because the hash is received in the wrong encoding.
Canceled
if it timed out.https://github.com/get10101/10101/blob/main/coordinator/src/node/invoice.rs