|
@ -47,7 +47,7 @@ class ApiHelper { |
|
|
|
|
|
|
|
|
} else if (addrHelper.isSupportedPubKey(item) && !ret.hasPubKey(item)) { |
|
|
} else if (addrHelper.isSupportedPubKey(item) && !ret.hasPubKey(item)) { |
|
|
// Derive pubkey as 3 addresses (P1PKH, P2WPKH/P2SH, BECH32)
|
|
|
// Derive pubkey as 3 addresses (P1PKH, P2WPKH/P2SH, BECH32)
|
|
|
const bufItem = new Buffer(item, 'hex') |
|
|
const bufItem = Buffer.from(item, 'hex') |
|
|
|
|
|
|
|
|
const funcs = [ |
|
|
const funcs = [ |
|
|
addrHelper.p2pkhAddress, |
|
|
addrHelper.p2pkhAddress, |
|
|