mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-06-08 15:11:53 +00:00
read flash privilege from agent config
This commit is contained in:
@@ -94,7 +94,7 @@ export async function flashCloseTrade(
|
||||
priceWithSlippage,
|
||||
sideEnum,
|
||||
poolConfig,
|
||||
get_flash_privilege(),
|
||||
get_flash_privilege(agent),
|
||||
tradingAccounts.nftTradingAccountPk,
|
||||
tradingAccounts.nftReferralAccountPK,
|
||||
tradingAccounts.nftOwnerRebateTokenAccountPk,
|
||||
|
||||
Reference in New Issue
Block a user