Skip to content

Commit

Permalink
Fix possible fee calculation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelWuensch committed Dec 17, 2023
1 parent 26e465a commit e9a6b89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ public void onClick(View v) {
if (NodeConfigsManager.getInstance().hasAnyConfigs()) {

long paymentAmount;
if (mIsKeysend) {
if (mIsKeysend || mLnPaymentRequest.getNumSatoshis() == 0) {
paymentAmount = mSendAmountSat;
} else {
paymentAmount = mLnPaymentRequest.getNumSatoshis();
Expand Down

0 comments on commit e9a6b89

Please sign in to comment.