From db4f1c382e3a70c3360833424a990b49271cc7f6 Mon Sep 17 00:00:00 2001 From: jacogr Date: Sat, 22 Oct 2016 09:58:50 +0200 Subject: [PATCH] format blockNumber consistently --- js/src/3rdparty/etherscan/account.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/src/3rdparty/etherscan/account.js b/js/src/3rdparty/etherscan/account.js index 596e6d9cb..cb99c22c6 100644 --- a/js/src/3rdparty/etherscan/account.js +++ b/js/src/3rdparty/etherscan/account.js @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . +import BigNumber from 'bignumber.js'; + const PAGE_SIZE = 25; import util from '../../api/util'; @@ -56,7 +58,7 @@ function transactions (address, page, test = false) { from: util.toChecksumAddress(tx.from), to: util.toChecksumAddress(tx.to), hash: tx.hash, - blockNumber: tx.blockNumber, + blockNumber: new BigNumber(tx.blockNumber), timeStamp: tx.timeStamp, value: tx.value };