diff options
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r-- | src/webex/wxApi.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index a50672131..a8b35ed34 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -28,7 +28,7 @@ import { CurrencyRecord, DenominationRecord, ExchangeRecord, - PreCoinRecord, + PlanchetRecord, ReserveRecord, } from "../dbTypes"; import { @@ -174,10 +174,10 @@ export function getCoins(exchangeBaseUrl: string): Promise<CoinRecord[]> { /** - * Get all precoins withdrawn from the given exchange. + * Get all planchets withdrawn from the given exchange. */ -export function getPreCoins(exchangeBaseUrl: string): Promise<PreCoinRecord[]> { - return callBackend("get-precoins", { exchangeBaseUrl }); +export function getPlanchets(exchangeBaseUrl: string): Promise<PlanchetRecord[]> { + return callBackend("get-planchets", { exchangeBaseUrl }); } @@ -207,7 +207,7 @@ export function payback(coinPub: string): Promise<void> { /** * Pay for a proposal. */ -export function confirmPay(proposalId: number, sessionId: string | undefined): Promise<ConfirmPayResult> { +export function confirmPay(proposalId: string, sessionId: string | undefined): Promise<ConfirmPayResult> { return callBackend("confirm-pay", { proposalId, sessionId }); } |