fix: some bech32 addresses were not recognised

This commit is contained in:
Wowee0 2020-02-12 10:57:15 -06:00
parent 44ba1b3d30
commit f5c2f48efc

View file

@ -307,7 +307,7 @@
return o; return o;
} else { } else {
return false; throw "Invalid checksum";
} }
} catch(e) { } catch(e) {
bech32rs = coinjs.bech32redeemscript(addr); bech32rs = coinjs.bech32redeemscript(addr);