diff --git a/src/helpers.js b/src/helpers.js index 5282593c3..7cfbcd067 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -652,7 +652,7 @@ Helpers.bitcoincash = { pubKeyHash: 0, scriptHash: 5, wif: 128 -} +}; Helpers.toBitcoinCash = (address) => { const { version, hash } = Bitcoin.address.fromBase58Check(address); @@ -664,7 +664,7 @@ Helpers.toBitcoinCash = (address) => { default: throw new Error('toBitcoinCash: Address type not supported'); } -} +}; Helpers.fromBitcoinCash = (address) => { const { hash, version } = cashaddress.decode(address); @@ -676,7 +676,7 @@ Helpers.fromBitcoinCash = (address) => { default: throw new Error('fromBitcoinCash: Address type not supported'); } -} +}; // Helpers.bitcoincashtestnet = { // messagePrefix: '\u0018Bitcoin Signed Message:\n', diff --git a/tests/helpers.spec.js b/tests/helpers.spec.js index cadadd71a..0b3d88ee4 100644 --- a/tests/helpers.spec.js +++ b/tests/helpers.spec.js @@ -556,7 +556,7 @@ describe('Helpers', () => { }); }); - fdescribe('Bitcoin cash address format', () => { + describe('Bitcoin cash address format', () => { it('spec tests', () => { const tests = [ ['1BpEi6DfDAUFd7GtittLSdBeYJvcoaVggu', 'bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a'],