diff --git a/src/helpers/libcore.js b/src/helpers/libcore.js index f93818d7..1d524c65 100644 --- a/src/helpers/libcore.js +++ b/src/helpers/libcore.js @@ -251,6 +251,8 @@ async function buildAccountRaw({ const { str: freshAddress, path: freshAddressPath } = addresses[0] + ops.sort((a, b) => b.getDate() - a.getDate()) + const operations = ops.map(op => buildOperationRaw({ core, op, xpub })) const currency = getCryptoCurrencyById(currencyId)