fix: batchRequest params order

This commit is contained in:
fernandomg 2020-04-23 12:45:37 -03:00 committed by Mikhail Mikheev
parent 162ff84108
commit 0cd526f47a
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ export const loadSafeTransactions = async (safeAddress: string, getState: GetSta
const txsWithData = await batchRequestTxsData(transactions) const txsWithData = await batchRequestTxsData(transactions)
// In case that the etags don't match, we parse the new transactions and save them to the cache // In case that the etags don't match, we parse the new transactions and save them to the cache
const txsRecord: Array<RecordInstance<TransactionProps>> = await Promise.all( const txsRecord: Array<RecordInstance<TransactionProps>> = await Promise.all(
txsWithData.map(([tx: TxServiceModel, decimals, symbol, name, code]) => txsWithData.map(([tx: TxServiceModel, decimals, code, symbol, name]) =>
buildTransactionFrom(safeAddress, tx, knownTokens, decimals, symbol, name, code), buildTransactionFrom(safeAddress, tx, knownTokens, decimals, symbol, name, code),
), ),
) )