coinos / coinos-classic

A bitcoin wallet app
https://coinos.io/
GNU Affero General Public License v3.0
70 stars 17 forks source link

Behavior after paying a HOLD invoice #31

Open cointastical opened 2 years ago

cointastical commented 2 years ago

In using RoboSats P2P platform, one of the steps is to pay a HOLD invoice.

After doing a Send in CoinOS, the payment reaches RoboSats, and it then goes into a "PUBLISH" mode, which could last for six hours, unless either a trade happens, or the offer is canceled.

The problem is CoinOS doesn't see anything, and eventually Cloudflare returns a 504.

The visible issue is the entire response from Cloudflare appears as a message popup.

But even if a close my browser or whatever to clear that, and I go back into my CoinOS wallet, the balance hasn't changed since before I sent. However, if I try to spend again, those transactions will not occur -- as the wallet is "Locked" (?), and the error message is:

Lock wait timeout exceeded; try restarting transaction 

If I then Cancel the HOLD invoice on RoboSats, then CoinOS resumes working as expected.

So I'm not sure the best way to describe this ... if this is a feature request (to support Hold Invoice), or a bug report (either fail to pay a hold invoice, or better UX after a hodl invoice is first paid, so that other wallet activity can continue.) Also, I don't know if this Issue is supposed to be reported here, in coinos-ui issue, or in coinos-server. Or both?

RoboSats: https://github.com/Reckless-Satoshi/robosats/blob/main/README.md