From c95586617adc9aa86c9b7f44c667808d79286ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Sun, 27 May 2018 13:16:21 +0200 Subject: [PATCH] ETH self transaction: Receive to appear after Send --- src/bridge/EthereumJSBridge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bridge/EthereumJSBridge.js b/src/bridge/EthereumJSBridge.js index 38a2142e..cbb56d11 100644 --- a/src/bridge/EthereumJSBridge.js +++ b/src/bridge/EthereumJSBridge.js @@ -59,7 +59,7 @@ const txToOps = (account: Account) => (tx: Tx): Operation[] => { accountId: account.id, senders: [tx.from], 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