Skip to content

Commit

Permalink
remove: unnecessary deps and console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
honeymaro committed Jun 2, 2022
1 parent 8700b9d commit 5f5249d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/forms/SwapForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -865,10 +865,7 @@ const SwapForm = ({ type, tabs }: { type: Type; tabs: TabViewProps }) => {
})
: "0",
token: from,
beliefPrice: `${decimal(
div(value1, value2),
18
)}`,
beliefPrice: `${decimal(div(value1, value2), 18)}`,
})
} else {
msgs = await generateContractMessages(
Expand Down Expand Up @@ -903,16 +900,11 @@ const SwapForm = ({ type, tabs }: { type: Type; tabs: TabViewProps }) => {
}`,
}

console.log("txOptions")
console.log(txOptions)

const signMsg = await terra.tx.create(
[{ address: walletAddress }],
txOptions
)

console.log("signMsg")
console.log(signMsg)
txOptions.fee = signMsg.auth_info.fee

const extensionResult = await terraExtensionPost(txOptions)
Expand All @@ -937,7 +929,6 @@ const SwapForm = ({ type, tabs }: { type: Type; tabs: TabViewProps }) => {
to,
slippageTolerance,
tokenInfo1,
tokenInfo2,
getMsgs,
profitableQuery,
lpContract,
Expand Down

0 comments on commit 5f5249d

Please sign in to comment.