ECPair: cease using Address for address encoding
This commit is contained in:
parent
5ce093739e
commit
588b346f5d
10 changed files with 27 additions and 22 deletions
test/integration
|
@ -35,7 +35,7 @@ describe('bitcoinjs-lib (crypto)', function () {
|
|||
assert.deepEqual(QprimeR.getEncoded(), QprimeS.getEncoded())
|
||||
|
||||
// derived shared-secret address
|
||||
var address = new bitcoin.ECPair(null, QprimeS).getAddress().toString()
|
||||
var address = new bitcoin.ECPair(null, QprimeS).getAddress()
|
||||
|
||||
assert.strictEqual(address, '1EwCNJNZM5q58YPPTnjR1H5BvYRNeyZi47')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue