diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-27 04:35:24 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-27 04:35:24 +0200 |
commit | ccc6d822424be9b257e63b0d71f2d46f2523fe3e (patch) | |
tree | 843a7fac199093bdc62a7e2b6920e89869f7fdc5 /src/wallet.ts | |
parent | 665e88c72b568bf25ff0ec8a14109e2504f99aa8 (diff) |
canonicalize account info JSON when collecting them
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 2 |
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)); |