Browse Source

Merge pull request #401 from NastiaS/polishBranch

ripple and ethereum import account setting default archiving to false
master
Meriadec Pillet 7 years ago
committed by GitHub
parent
commit
5724077db1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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