chore: remove debigger
This commit is contained in:
parent
390dea08a7
commit
dff25c7ef8
|
@ -52,7 +52,6 @@ export const CollateralSelector = (props: {
|
||||||
const market = cache.get(props.reserve?.lendingMarket) as ParsedAccount<
|
const market = cache.get(props.reserve?.lendingMarket) as ParsedAccount<
|
||||||
LendingMarket
|
LendingMarket
|
||||||
>;
|
>;
|
||||||
debugger;
|
|
||||||
if (!market) return null;
|
if (!market) return null;
|
||||||
|
|
||||||
const quoteMintAddress = market?.info?.quoteMint?.toBase58();
|
const quoteMintAddress = market?.info?.quoteMint?.toBase58();
|
||||||
|
|
|
@ -286,7 +286,6 @@ export async function calculateDependentAmount(
|
||||||
|
|
||||||
const constantPrice = pool.raw?.data?.curve?.constantPrice;
|
const constantPrice = pool.raw?.data?.curve?.constantPrice;
|
||||||
if (constantPrice) {
|
if (constantPrice) {
|
||||||
debugger;
|
|
||||||
depAdjustedAmount = (amount * depPrecision) / constantPrice.token_b_price;
|
depAdjustedAmount = (amount * depPrecision) / constantPrice.token_b_price;
|
||||||
} else {
|
} else {
|
||||||
switch (+op) {
|
switch (+op) {
|
||||||
|
|
Loading…
Reference in New Issue