From 1cc06ef34921a0c745d2582dbf5ee46ec228f6e4 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Mon, 10 Jan 2022 17:31:43 +0000 Subject: [PATCH] update get_approx_fee to new function name _outdated_get_approx_fee --- nym-wallet/src/pages/internal-docs/ApiList.tsx | 2 +- nym-wallet/src/requests/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nym-wallet/src/pages/internal-docs/ApiList.tsx b/nym-wallet/src/pages/internal-docs/ApiList.tsx index d55197cff6..997b177a00 100644 --- a/nym-wallet/src/pages/internal-docs/ApiList.tsx +++ b/nym-wallet/src/pages/internal-docs/ApiList.tsx @@ -139,7 +139,7 @@ export const ApiList = () => { diff --git a/nym-wallet/src/requests/index.ts b/nym-wallet/src/requests/index.ts index f07d219540..c1630bc974 100644 --- a/nym-wallet/src/requests/index.ts +++ b/nym-wallet/src/requests/index.ts @@ -28,7 +28,7 @@ export const majorToMinor = async (amount: string): Promise => await invok // NOTE: this uses OUTDATED defaults that might have no resemblance with the reality // as for the actual transaction, the gas cost is being simulated beforehand export const getGasFee = async (operation: Operation): Promise => - await invoke('get_approximate_fee', { operation }) + await invoke('outdated_get_approximate_fee', { operation }) export const delegate = async ({ type,