diff --git a/js/coin.js b/js/coin.js index 2c03e14..d6d1f67 100644 --- a/js/coin.js +++ b/js/coin.js @@ -307,7 +307,7 @@ return o; } else { - return false; + throw "Invalid checksum"; } } catch(e) { bech32rs = coinjs.bech32redeemscript(addr);