Browse Source

ripple and ethereum import account setting default archiving to false

master
NastiaS 7 years ago
parent
commit
aa9ef47293
  1. 4
      src/bridge/EthereumJSBridge.js
  2. 4
      src/bridge/RippleJSBridge.js

4
src/bridge/EthereumJSBridge.js

@ -131,7 +131,7 @@ const EthereumBridge: WalletBridge<Transaction> = {
name: 'New Account', name: 'New Account',
balance, balance,
blockHeight: currentBlock.height, blockHeight: currentBlock.height,
archived: true, archived: false,
index, index,
currency, currency,
operations: [], operations: [],
@ -156,7 +156,7 @@ const EthereumBridge: WalletBridge<Transaction> = {
name: address.slice(32), name: address.slice(32),
balance, balance,
blockHeight: currentBlock.height, blockHeight: currentBlock.height,
archived: true, archived: false,
index, index,
currency, currency,
operations: [], operations: [],

4
src/bridge/RippleJSBridge.js

@ -223,7 +223,7 @@ const RippleJSBridge: WalletBridge<Transaction> = {
operations: [], operations: [],
pendingOperations: [], pendingOperations: [],
unit: currency.units[0], unit: currency.units[0],
archived: true, archived: false,
lastSyncDate: new Date(), lastSyncDate: new Date(),
}) })
break break
@ -254,7 +254,7 @@ const RippleJSBridge: WalletBridge<Transaction> = {
operations: [], operations: [],
pendingOperations: [], pendingOperations: [],
unit: currency.units[0], unit: currency.units[0],
archived: true, archived: false,
lastSyncDate: new Date(), lastSyncDate: new Date(),
} }
account.operations = transactions.map(txToOperation(account)) account.operations = transactions.map(txToOperation(account))

Loading…
Cancel
Save