LN-Zap / zap-android

Zap Wallet - Native android lightning wallet for node operators focused on user experience and ease of use ⚡️
MIT License
165 stars 49 forks source link

Balance not updated after LNURL withdraw #322

Closed kiwiidb closed 2 years ago

kiwiidb commented 3 years ago

Description

After a succesful lnurl-withdraw, the balance on the home screen is not updated.

Expected Behavior

Balance on the home screen reflecting the new balance after lnurl withdraw.

Actual Behavior

Balance on the home screen reflecting outdated balance after lnurl-witdhraw

Possible Fix

Steps to Reproduce

  1. LNURL withdraw.
  2. Inspect balance on home screen

Context

Your Environment

michaelWuensch commented 3 years ago

@kiwiidb Thanks for the issue report. I will have a look at it for the next version.

michaelWuensch commented 3 years ago

@kiwiidb hi I just tested it and it updated automatically. It took about 1 or 2 seconds after the success screen though. This is because the success screen depends on the answer of the communication between the lnurl service and your node, while the actual updating of the balance is constrained to the actual htlc taking place. Which version of LND are you running? The automated updating based on htlcs in Zap Android is only available on LND 11.0 and later.

michaelWuensch commented 2 years ago

I cannot reproduce it and I didn't get an answer which lnd version you used. I am closing the issue now. If you still have that problem, feel free to reopen the issue.