add console log for maxSwapForUI
This commit is contained in:
parent
a74771d337
commit
cb3ad6e460
|
@ -66,6 +66,16 @@ export const getTokenInMax = (
|
|||
inputBank.mintDecimals
|
||||
)
|
||||
|
||||
console.log(
|
||||
'getMaxSourceUiForTokenSwap',
|
||||
mangoAccount.getMaxSourceUiForTokenSwap(
|
||||
group,
|
||||
inputBank.mint,
|
||||
outputBank.mint,
|
||||
1
|
||||
)
|
||||
)
|
||||
|
||||
const maxAmount = useMargin
|
||||
? Decimal.min(
|
||||
maxAmountWithoutMargin,
|
||||
|
|
Loading…
Reference in New Issue