Browse Source

ETH self transaction: Receive to appear after Send

master
Gaëtan Renaudeau 7 years ago
committed by GitHub
parent
commit
c95586617a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/bridge/EthereumJSBridge.js

2
src/bridge/EthereumJSBridge.js

@ -59,7 +59,7 @@ const txToOps = (account: Account) => (tx: Tx): Operation[] => {
accountId: account.id, accountId: account.id,
senders: [tx.from], senders: [tx.from],
recipients: [tx.to], recipients: [tx.to],
date: new Date(tx.received_at), date: new Date(new Date(tx.received_at) + 1), // hack: make the IN appear after the OUT in history.
}) })
} }
return ops return ops

Loading…
Cancel
Save