This commit is contained in:
Florian Dold 2023-02-20 01:49:43 +01:00
parent ac9dc1845a
commit dcbdddc32e
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -83,7 +83,7 @@ export function useComponentState({
const hook = useAsyncAsHook(async () => { const hook = useAsyncAsHook(async () => {
const resp = await api.wallet.call( const resp = await api.wallet.call(
WalletApiOperation.PreparePeerPullPayment, WalletApiOperation.CheckPeerPullCredit,
{ {
amount: amountStr, amount: amountStr,
exchangeBaseUrl: exchange.exchangeBaseUrl, exchangeBaseUrl: exchange.exchangeBaseUrl,
@ -143,7 +143,7 @@ export function useComponentState({
if (!subject || !purse_expiration) return; if (!subject || !purse_expiration) return;
const resp = await api.wallet.call( const resp = await api.wallet.call(
WalletApiOperation.InitiatePeerPullPayment, WalletApiOperation.InitiatePeerPullCredit,
{ {
exchangeBaseUrl: exchange.exchangeBaseUrl, exchangeBaseUrl: exchange.exchangeBaseUrl,
partialContractTerms: { partialContractTerms: {