Horndev / zapread.com

Website for zapread.com
https://www.zapread.com
GNU Affero General Public License v3.0
18 stars 4 forks source link

[Critical] Withdraw bug #342

Closed Horndev closed 5 years ago

Horndev commented 5 years ago

https://www.zapread.com/Post/Detail/4622

for detail.

Not recording withdraws settling correctly...

Horndev commented 5 years ago

The cause has been identified as related to LND. LND does not provide a get payment interface to check if funds are sent. If something goes wrong and the HTTP stream is lost when withdrawing, then it is not registered that the funds were sent.

Solution for now is to put funds into a locked limbo mode until the payment is verified, or times out.

Horndev commented 5 years ago

Should be addressed now. Will be monitoring exceptions.

Horndev commented 5 years ago

This bug should now be fixed. Increased monitoring of LND Rest channels implemented and a fallback to limbo balance to check for missed withdraws was implmented.