aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-19 21:31:36 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-19 21:31:36 +0100
commit65bbbf53ee73f7b72c1531d03d3943eb82b78e99 (patch)
tree45e9ed74cc4081746e5797cb56545aa4f8a47536 /src/wallet.ts
parent4f7a130ebc2da6767e9db161ddf04b243dc2d0e3 (diff)
write to db if coins are not offered anymore
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts2
1 files changed, 2 insertions, 0 deletions
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;
}