getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
540 stars 194 forks source link

[BUG] Browser notifications miscalculate #3192

Closed itstomekk closed 4 months ago

itstomekk commented 4 months ago

Is there an existing issue for this?

Describe the bug

I'm sending from Alby to other wallets, amount X sats. It shows on a transaction history that I paid X, but it actually charged me X plus FEES. Ok.

However, in Google Chrome notifications (they appear in system notifications) it displays that I paid amount X minus FEES, and that I also paid those fees (which sums to X, not to X + fees), which is incorrect.

Compare below last two transactions left: Alby (extension and web app both display same amounts) right: Chrome (Windows) notifications image


Btw, when I'm sending from another node (here: Blink), then on transaction history it shows I've spent X+FEES (which is what was actually charged), and the Chrome notification shows "Successfully paid X".

Screenshots [optional]

No response

Steps To Reproduce

  1. Enable notifications for Alby extension in your browser
  2. Send 1000 sats to anoter node/wallet
  3. Compare transaction records in Alby web or extension, with records in these notifications.

Expected behavior

We don't tell users about fees in our interfaces, simply charge them from their balance. We tell them only (?) in these notifications - but it's incorrect.

Alby information

3.8.1

Device information

Windows, Chrome

Additional context

No response

Are you working on this?

None