From 30e68f08560f442472d965ab6d135347f286a94e Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Sun, 1 Oct 2017 15:30:20 -0500 Subject: [PATCH] fix(isLn): fix small bugs in isLn logic --- app/reducers/payform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/reducers/payform.js b/app/reducers/payform.js index f1d1adad..fac0a8b4 100644 --- a/app/reducers/payform.js +++ b/app/reducers/payform.js @@ -97,7 +97,7 @@ payFormSelectors.isOnchain = createSelector( payFormSelectors.isLn = createSelector( payInputSelector, input => { - if (!input.startWith('ln')) { return } + if (!input.startsWith('ln')) { return false } try { bech32.decode(input)