aboutsummaryrefslogtreecommitdiff
path: root/src/wxApi.ts
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/wxApi.ts
parent41ed276f3aad355a8a2504759edf5b737922272e (diff)
store reservePub/blindingKey directly in coin
Diffstat (limited to 'src/wxApi.ts')
-rw-r--r--src/wxApi.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wxApi.ts b/src/wxApi.ts
index 0f460085e..f06ab69a7 100644
--- a/src/wxApi.ts
+++ b/src/wxApi.ts
@@ -107,3 +107,7 @@ export async function getDenoms(exchangeBaseUrl: string): Promise<DenominationRe
export async function refresh(coinPub: string): Promise<void> {
return await callBackend("refresh-coin", { coinPub });
}
+
+export async function payback(coinPub: string): Promise<void> {
+ return await callBackend("payback-coin", { coinPub });
+}