aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-01 04:33:47 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-01 04:33:47 +0200
commit10efd87a8ebcddb75d784f111af534b9d6ea494b (patch)
treeb1ace802de482e2ea5d253d097d5f37c5ceb9eae /src/pages
parent41ed276f3aad355a8a2504759edf5b737922272e (diff)
store reservePub/blindingKey directly in coin
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/tree.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/tree.tsx b/src/pages/tree.tsx
index a465cff59..201d411ac 100644
--- a/src/pages/tree.tsx
+++ b/src/pages/tree.tsx
@@ -33,7 +33,7 @@ import {
import { ImplicitStateComponent, StateHolder } from "../components";
import {
getReserves, getExchanges, getCoins, getPreCoins,
- refresh, getDenoms
+ refresh, getDenoms, payback,
} from "../wxApi";
import { prettyAmount } from "../renderHtml";
import { getTalerStampDate } from "../helpers";
@@ -135,6 +135,7 @@ class CoinView extends React.Component<CoinViewProps, void> {
<li>Suspended: {(c.suspended || false).toString()}</li>
<li>Status: {CoinStatus[c.status]}</li>
<li><RefreshDialog coin={c} /></li>
+ <li><button onClick={() => payback(c.coinPub)}>Payback</button></li>
</ul>
</div>
);