-rename
This commit is contained in:
parent
ac9dc1845a
commit
dcbdddc32e
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user