aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-08-27 04:35:24 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-08-27 04:35:24 +0200
commitccc6d822424be9b257e63b0d71f2d46f2523fe3e (patch)
tree843a7fac199093bdc62a7e2b6920e89869f7fdc5 /src/wallet.ts
parent665e88c72b568bf25ff0ec8a14109e2504f99aa8 (diff)
canonicalize account info JSON when collecting them
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.ts b/src/wallet.ts
index b892e2e4b..72c8a70f8 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -2413,7 +2413,7 @@ export class Wallet {
const senderWiresSet = new Set();
await this.q().iter(Stores.reserves).map((x) => {
if (x.senderWire) {
- senderWiresSet.add(JSON.stringify(x.senderWire));
+ senderWiresSet.add(canonicalJson(x.senderWire));
}
}).run();
const senderWires = Array.from(senderWiresSet).map((x) => JSON.parse(x));