From 79f8fa3e187fbfed5ccc8bb994178e6d7045214d Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Mon, 7 Oct 2024 13:22:15 +0200 Subject: [PATCH] change property name --- packages/mrl/src/getTransferData/getSourceData.ts | 6 +++--- packages/mrl/src/mrl.interfaces.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/mrl/src/getTransferData/getSourceData.ts b/packages/mrl/src/getTransferData/getSourceData.ts index eb720818..d1a8f29b 100644 --- a/packages/mrl/src/getTransferData/getSourceData.ts +++ b/packages/mrl/src/getTransferData/getSourceData.ts @@ -100,7 +100,7 @@ export async function getSourceData({ sourceAddress, }); - const relayFee = await getRelayFee({ + const relayerFee = await getRelayerFee({ chain: source, transfer, asset: balance, @@ -126,7 +126,7 @@ export async function getSourceData({ feeBalance, max, min, - relayFee, + relayerFee, }; } @@ -188,7 +188,7 @@ export async function getFee({ }); } -export async function getRelayFee({ +export async function getRelayerFee({ asset, chain, destinationAddress, diff --git a/packages/mrl/src/mrl.interfaces.ts b/packages/mrl/src/mrl.interfaces.ts index 6fadf221..f8de15d3 100644 --- a/packages/mrl/src/mrl.interfaces.ts +++ b/packages/mrl/src/mrl.interfaces.ts @@ -24,7 +24,7 @@ export interface TransferData { export interface SourceTransferData extends SourceChainTransferData { destinationFeeBalance: AssetAmount; - relayFee?: AssetAmount; + relayerFee?: AssetAmount; feeBalance: AssetAmount; max: AssetAmount; }