From 65bbbf53ee73f7b72c1531d03d3943eb82b78e99 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 19 Nov 2016 21:31:36 +0100 Subject: write to db if coins are not offered anymore --- src/wallet.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wallet.ts') diff --git a/src/wallet.ts b/src/wallet.ts index 902599beb..932d61eda 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -1261,6 +1261,8 @@ export class Wallet { await this.q() .putAll(Stores.denominations, Object.keys(newDenoms).map((d) => newDenoms[d])) + .putAll(Stores.denominations, + Object.keys(existingDenoms).map((d) => existingDenoms[d])) .finish(); return exchangeInfo; } -- cgit v1.2.3