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 };