Skip to content

Commit

Permalink
change property name
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Oct 7, 2024
1 parent 7109206 commit 79f8fa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/mrl/src/getTransferData/getSourceData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function getSourceData({
sourceAddress,
});

const relayFee = await getRelayFee({
const relayerFee = await getRelayerFee({
chain: source,
transfer,
asset: balance,
Expand All @@ -126,7 +126,7 @@ export async function getSourceData({
feeBalance,
max,
min,
relayFee,
relayerFee,
};
}

Expand Down Expand Up @@ -188,7 +188,7 @@ export async function getFee({
});
}

export async function getRelayFee({
export async function getRelayerFee({
asset,
chain,
destinationAddress,
Expand Down
2 changes: 1 addition & 1 deletion packages/mrl/src/mrl.interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface TransferData {

export interface SourceTransferData extends SourceChainTransferData {
destinationFeeBalance: AssetAmount;
relayFee?: AssetAmount;
relayerFee?: AssetAmount;
feeBalance: AssetAmount;
max: AssetAmount;
}
Expand Down

0 comments on commit 79f8fa3

Please sign in to comment.