Browse Source

Use bitcoinAddress as xpub for now

master
meriadec 7 years ago
parent
commit
3196e966dc
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/internals/accounts/scanAccountsOnDevice.js

2
src/internals/accounts/scanAccountsOnDevice.js

@ -199,7 +199,7 @@ async function buildAccountRaw({
const isVerify = false const isVerify = false
const { bitcoinAddress } = await hwApp.getWalletPublicKey(accountPath, isVerify, isSegwit) const { bitcoinAddress } = await hwApp.getWalletPublicKey(accountPath, isVerify, isSegwit)
const xpub = 'abcd' const xpub = bitcoinAddress
// blockHeight // blockHeight
const { height: blockHeight } = await njsAccount.getLastBlock() const { height: blockHeight } = await njsAccount.getLastBlock()

Loading…
Cancel
Save