ECPair: cease using Address for address encoding

This commit is contained in:
Daniel Cousens 2015-07-08 15:56:21 +10:00
parent 5ce093739e
commit 588b346f5d
10 changed files with 27 additions and 22 deletions
test/integration

View file

@ -29,7 +29,7 @@ describe('bitcoinjs-lib (advanced)', function () {
var keyPair = bitcoin.ECPair.makeRandom({
network: bitcoin.networks.testnet
})
var address = keyPair.getAddress().toString()
var address = keyPair.getAddress()
faucetWithdraw(address, 2e4, function (err) {
if (err) return done(err)