lightning-browser-extension icon indicating copy to clipboard operation
lightning-browser-extension copied to clipboard

[BUG] Payment success with NaN sats for Zeus notes

Open ekzyis opened this issue 1 year ago • 2 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues

Searched for NaN but there were no open issues, just some closed ones.

Describe the bug

I tried to zap this note from Zeus with Primal and the Alby extension.

After an unusual amount of time after confirming the zap in the Alby popup, the zap "succeeded" but I am not sure. It said "NaN sats". Tried again to see if it would happen again and it did:

Screenshots [optional]

2024-03-06-232637_384x599_scrot

2024-03-06-233225_395x607_scrot

Steps To Reproduce

  1. Visit https://primal.net/e/note1zr92nfc080mgqgrs24drqh0mzfu36y2c6v6lc3mp626z83lwlwqs8ux23z
  2. Zap

Expected behavior

Payment succeeds without NaN

Alby information

Device information

  • OS: Linux
  • Browser: Brave

Additional context

No response

Are you working on this?

None

ekzyis avatar Mar 06 '24 22:03 ekzyis

@ekzyis Which connector do you use? Is that your Alby account?

reneaaron avatar Mar 08 '24 10:03 reneaaron

Yes, this is my Alby account

Which connector do you use

It wasn't NWC but just a payment from my custodial Alby wallet, I believe.

Update: It's specific to this note or nostr account. Just tested zapping with this note and it worked as expected (very fast success without NaN). Still happens with that Zeus note though. Actually seems to happen with every note from npub1xnf02f60r9v0e5kty33a404dm79zr7z2eepyrk5gsq3m7pwvsz2sazlpr5. So it might be related to Zeus using HODL invoices? I think I heard something like that somewhere.

ekzyis avatar Mar 08 '24 11:03 ekzyis