summaryrefslogtreecommitdiff
path: root/src/operations/refresh.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-05-15 22:54:39 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-05-15 22:54:39 +0530
commit49f362ba6d3f3b99be1dba9ba1fe50fe49856d75 (patch)
treef5bf4ba0e7a9c6a60fae8f86ff41c133ec223134 /src/operations/refresh.ts
parent59178331a46467e0eb6f4dc0331f8d52d9afcb3c (diff)
downloadwallet-core-49f362ba6d3f3b99be1dba9ba1fe50fe49856d75.tar.gz
wallet-core-49f362ba6d3f3b99be1dba9ba1fe50fe49856d75.tar.bz2
wallet-core-49f362ba6d3f3b99be1dba9ba1fe50fe49856d75.zip
fix some transaction list issues
Diffstat (limited to 'src/operations/refresh.ts')
-rw-r--r--src/operations/refresh.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/operations/refresh.ts b/src/operations/refresh.ts
index 5563d94de..2d7ffad22 100644
--- a/src/operations/refresh.ts
+++ b/src/operations/refresh.ts
@@ -73,10 +73,9 @@ export function getTotalRefreshCost(
).amount;
const totalCost = Amounts.sub(amountLeft, resultingAmount).amount;
logger.trace(
- "total refresh cost for",
- amountToPretty(amountLeft),
- "is",
- amountToPretty(totalCost),
+ `total refresh cost for ${amountToPretty(amountLeft)} is ${amountToPretty(
+ totalCost,
+ )}`,
);
return totalCost;
}