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 (
|
return (
|
||||||
<div className="tree-item">
|
<div className="tree-item">
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>Offered: {d.isOffered ? "yes" : "no"}</li>
|
||||||
<li>Value: {prettyAmount(d.value)}</li>
|
<li>Value: {prettyAmount(d.value)}</li>
|
||||||
<li>Withdraw fee: {prettyAmount(d.feeWithdraw)}</li>
|
<li>Withdraw fee: {prettyAmount(d.feeWithdraw)}</li>
|
||||||
<li>Refresh fee: {prettyAmount(d.feeRefresh)}</li>
|
<li>Refresh fee: {prettyAmount(d.feeRefresh)}</li>
|
||||||
|
@ -1261,6 +1261,8 @@ export class Wallet {
|
|||||||
await this.q()
|
await this.q()
|
||||||
.putAll(Stores.denominations,
|
.putAll(Stores.denominations,
|
||||||
Object.keys(newDenoms).map((d) => newDenoms[d]))
|
Object.keys(newDenoms).map((d) => newDenoms[d]))
|
||||||
|
.putAll(Stores.denominations,
|
||||||
|
Object.keys(existingDenoms).map((d) => existingDenoms[d]))
|
||||||
.finish();
|
.finish();
|
||||||
return exchangeInfo;
|
return exchangeInfo;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user