aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts
index 670a67599..73cb61b52 100644
--- a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts
+++ b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts
@@ -83,7 +83,7 @@ export function useComponentState({
const hook = useAsyncAsHook(async () => {
const resp = await api.wallet.call(
- WalletApiOperation.PreparePeerPullPayment,
+ WalletApiOperation.CheckPeerPullCredit,
{
amount: amountStr,
exchangeBaseUrl: exchange.exchangeBaseUrl,
@@ -143,7 +143,7 @@ export function useComponentState({
if (!subject || !purse_expiration) return;
const resp = await api.wallet.call(
- WalletApiOperation.InitiatePeerPullPayment,
+ WalletApiOperation.InitiatePeerPullCredit,
{
exchangeBaseUrl: exchange.exchangeBaseUrl,
partialContractTerms: {