transition ECPair to properties over getters

This commit is contained in:
Daniel Cousens 2018-05-30 11:19:46 +10:00
parent fba0699dd3
commit 2fe220517f
10 changed files with 47 additions and 51 deletions

View file

@ -16,7 +16,7 @@ let fixtures = require('./fixtures/transaction_builder')
// TODO: remove
function getAddress (node) {
return baddress.toBase58Check(bcrypto.hash160(node.getPublicKey()), NETWORKS.bitcoin.pubKeyHash)
return baddress.toBase58Check(bcrypto.hash160(node.publicKey), NETWORKS.bitcoin.pubKeyHash)
}
function construct (f, dontSign) {