LN-Zap / zap-desktop

Zap Wallet - Cross platform Lightning Network wallet focused on user experience and ease of use ⚡️
MIT License
1.28k stars 216 forks source link

Double send on keysend #3813

Open sat-hoarder opened 1 year ago

sat-hoarder commented 1 year ago

Description

When sending to my CLN node via keysend, after entering the amount a send is executed before clicking the send button. If I click the send button a second transaction/payment is sent.

Expected Behavior

Application shouldn't send until the button is clicked

Actual Behavior

Application sends a keysend after entering the amount and pressing enter. User is presented with a screen to send even though a payment is already been sent.

Possible Fix

perhaps a confirmation before sending?

Steps to Reproduce

Enter node pubkey, enter satoshi amt, press enter. Check the node to see if payment has already been sent

Context

Just testing a keysend between two of my nodes. No biggie because, they are both my nodes.

Your Environment

Desktop Debian 12 (testing) LND 0.15.5 on Debian 10 bare metal.

sat-hoarder commented 1 year ago

https://user-images.githubusercontent.com/113390767/223032364-e9854611-2540-40ec-8b7e-a017c3825dc0.mp4