update get_approx_fee to new function name _outdated_get_approx_fee

This commit is contained in:
fmtabbara
2022-01-10 17:31:43 +00:00
parent 2bef1603ab
commit 1cc06ef349
2 changed files with 2 additions and 2 deletions
@@ -139,7 +139,7 @@ export const ApiList = () => {
<ListItem>
<DocEntry
function={{
name: 'get_approximate_fee',
name: 'outdated_get_approximate_fee',
args: [{ name: 'operation', type: 'str' }],
}}
/>
+1 -1
View File
@@ -28,7 +28,7 @@ export const majorToMinor = async (amount: string): Promise<Coin> => 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<Coin> =>
await invoke('get_approximate_fee', { operation })
await invoke('outdated_get_approximate_fee', { operation })
export const delegate = async ({
type,