transition ECPair to properties over getters
This commit is contained in:
parent
fba0699dd3
commit
2fe220517f
10 changed files with 47 additions and 51 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue