diff --git a/nym-wallet/src/requests/index.ts b/nym-wallet/src/requests/index.ts index f9527ff09f..3af0344bdb 100644 --- a/nym-wallet/src/requests/index.ts +++ b/nym-wallet/src/requests/index.ts @@ -16,7 +16,6 @@ import { TPagedDelegations, TSignInWithMnemonic, } from '../types' -import { MixnodeStatus } from '../types/rust/mixnodestatus' export const createAccount = async (): Promise => await invoke('create_new_account') @@ -30,7 +29,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,