taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit ccc6d822424be9b257e63b0d71f2d46f2523fe3e
parent 665e88c72b568bf25ff0ec8a14109e2504f99aa8
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sun, 27 Aug 2017 04:35:24 +0200

canonicalize account info JSON when collecting them

Diffstat:
Msrc/wallet.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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));