Skip to content

Commit d879231

Browse files
committed
fix(send): don't show minimum fee warning for lightning send
1 parent ddc7cf5 commit d879231

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/screens/Wallets/Send/ReviewAndSend.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,9 @@ const ReviewAndSend = ({
515515
warnings.push('dialog4');
516516
}
517517

518-
// Check if the user is setting the minimum relay fee given the current fee environment.
518+
// Check if the user is setting the minimum fee given the current fee environment.
519519
if (
520+
!transaction.lightningInvoice &&
520521
transaction.satsPerByte &&
521522
// This check is to prevent situations where all values are set to 1sat/vbyte. Where setting 1sat/vbyte is perfectly fine.
522523
feeEstimates.minimum < feeEstimates.slow &&

0 commit comments

Comments
 (0)