From 6b484f481b8ba77aaa38869fb7ca93ac3940d53f Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 14 Aug 2015 10:09:12 +1000 Subject: [PATCH] tests: remove unnecessary toString --- test/integration/multisig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/multisig.js b/test/integration/multisig.js index abe1e8d..28a2d93 100644 --- a/test/integration/multisig.js +++ b/test/integration/multisig.js @@ -16,7 +16,7 @@ describe('bitcoinjs-lib (multisig)', function () { var redeemScript = bitcoin.scripts.multisigOutput(2, pubKeys) // 2 of 3 var scriptPubKey = bitcoin.scripts.scriptHashOutput(redeemScript.getHash()) - var address = bitcoin.Address.fromOutputScript(scriptPubKey).toString() + var address = bitcoin.Address.fromOutputScript(scriptPubKey) assert.strictEqual(address, '36NUkt6FWUi3LAWBqWRdDmdTWbt91Yvfu7') }) @@ -34,7 +34,7 @@ describe('bitcoinjs-lib (multisig)', function () { var redeemScript = bitcoin.scripts.multisigOutput(2, pubKeys) // 2 of 4 var scriptPubKey = bitcoin.scripts.scriptHashOutput(redeemScript.getHash()) - var address = bitcoin.Address.fromOutputScript(scriptPubKey, bitcoin.networks.testnet).toString() + var address = bitcoin.Address.fromOutputScript(scriptPubKey, bitcoin.networks.testnet) // attempt to send funds to the source address blockchain.t.faucet(address, 2e4, function (err) {