This commit is contained in:
Jaco Greeff 2016-12-01 14:08:32 +01:00
parent 077f32dce6
commit 9087560344

View File

@ -93,7 +93,7 @@ export default class Store {
Promise Promise
.all(txhashes.map((txhash) => this._api.eth.getTransactionByHash(txhash))) .all(txhashes.map((txhash) => this._api.eth.getTransactionByHash(txhash)))
.then((_transactions) => { .then((_transactions) => {
const transactions = _transactions.filter((tx) => tx) || []; const transactions = _transactions.filter((tx) => tx);
this.addTransactions( this.addTransactions(
transactions.reduce((transactions, tx, index) => { transactions.reduce((transactions, tx, index) => {