mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-17 00:18:36 +03:00
fix passing ticker instead of token address
This commit is contained in:
@@ -62,7 +62,7 @@ export async function generateSwapCalldataWithUnit({
|
|||||||
|
|
||||||
let path = SafeArray.from(arrayLikePath);
|
let path = SafeArray.from(arrayLikePath);
|
||||||
const walletBalance = await getWalletBalance(
|
const walletBalance = await getWalletBalance(
|
||||||
path.first().assetIn,
|
safeGet(assetToAddress, path.first().assetIn),
|
||||||
receiverAddress,
|
receiverAddress,
|
||||||
unit.provider
|
unit.provider
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user