|
@ -97,12 +97,12 @@ const EthereumBridge: WalletBridge<Transaction> = { |
|
|
const account: Account = { |
|
|
const account: Account = { |
|
|
id: accountId, |
|
|
id: accountId, |
|
|
xpub: '', |
|
|
xpub: '', |
|
|
path, |
|
|
path, // FIXME we probably not want the address path in the account.path
|
|
|
walletPath: String(index), |
|
|
walletPath: String(index), |
|
|
name: 'New Account', |
|
|
name: 'New Account', |
|
|
isSegwit: false, |
|
|
isSegwit: false, |
|
|
address, |
|
|
address, |
|
|
addresses: [address], |
|
|
addresses: [{ str: address, path, }], |
|
|
balance, |
|
|
balance, |
|
|
blockHeight: currentBlock.height, |
|
|
blockHeight: currentBlock.height, |
|
|
archived: true, |
|
|
archived: true, |
|
@ -128,12 +128,12 @@ const EthereumBridge: WalletBridge<Transaction> = { |
|
|
const account: Account = { |
|
|
const account: Account = { |
|
|
id: accountId, |
|
|
id: accountId, |
|
|
xpub: '', |
|
|
xpub: '', |
|
|
path, |
|
|
path, // FIXME we probably not want the address path in the account.path
|
|
|
walletPath: String(index), |
|
|
walletPath: String(index), |
|
|
name: address.slice(32), |
|
|
name: address.slice(32), |
|
|
isSegwit: false, |
|
|
isSegwit: false, |
|
|
address, |
|
|
address, |
|
|
addresses: [address], |
|
|
addresses: [{ str: address, path, }], |
|
|
balance, |
|
|
balance, |
|
|
blockHeight: currentBlock.height, |
|
|
blockHeight: currentBlock.height, |
|
|
archived: true, |
|
|
archived: true, |
|
|