mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02: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);
|
||||
const walletBalance = await getWalletBalance(
|
||||
path.first().assetIn,
|
||||
safeGet(assetToAddress, path.first().assetIn),
|
||||
receiverAddress,
|
||||
unit.provider
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user