Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit d1c9dfe

Browse files
committed
Remove unnecesary 0 guard.
1 parent 86f0fa3 commit d1c9dfe

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/action/payment.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,7 @@ class PaymentAction {
165165
return this._notification.display({ msg: 'Enter an invoice or address' });
166166
}
167167
if (await this.decodeInvoice({ invoice: this._store.payment.address })) {
168-
if (
169-
this._store.payment.amount === '0' ||
170-
this._store.payment.amount === 0
171-
) {
168+
if (this._store.payment.amount === '0') {
172169
this._store.payment.amount = null;
173170
this._nav.goPayLightningSupplyAmount();
174171
} else {

0 commit comments

Comments
 (0)