Browse Source

fix(isLn): fix small bugs in isLn logic

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
30e68f0856
  1. 2
      app/reducers/payform.js

2
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)

Loading…
Cancel
Save