write to db if coins are not offered anymore
This commit is contained in:
parent
4f7a130ebc
commit
65bbbf53ee
@ -288,6 +288,7 @@ class DenominationList extends ImplicitStateComponent<DenominationListProps> {
|
||||
return (
|
||||
<div className="tree-item">
|
||||
<ul>
|
||||
<li>Offered: {d.isOffered ? "yes" : "no"}</li>
|
||||
<li>Value: {prettyAmount(d.value)}</li>
|
||||
<li>Withdraw fee: {prettyAmount(d.feeWithdraw)}</li>
|
||||
<li>Refresh fee: {prettyAmount(d.feeRefresh)}</li>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user