From bd65bb67e25a79b019d745b7262b2008ce2adb15 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 16 Nov 2016 01:59:39 +0100 Subject: incrementally verify denoms The denominations are not stored in a separate object store. --- src/wxApi.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/wxApi.ts') diff --git a/src/wxApi.ts b/src/wxApi.ts index 110ba442f..15e27c2e7 100644 --- a/src/wxApi.ts +++ b/src/wxApi.ts @@ -20,7 +20,7 @@ import { PreCoinRecord, ReserveCreationInfo, ExchangeRecord, - ReserveRecord + ReserveRecord, DenominationRecord } from "./types"; /** @@ -70,6 +70,10 @@ export async function getPreCoins(exchangeBaseUrl: string): Promise { + return await callBackend("get-denoms", { exchangeBaseUrl }); +} + export async function refresh(coinPub: string): Promise { return await callBackend("refresh-coin", { coinPub }); } -- cgit v1.2.3