Skip to content

Commit

Permalink
chore: cleaup
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenfurniture committed Sep 28, 2024
1 parent 299675e commit 3b521ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions packages/swapper/src/swappers/ThorchainSwapper/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ export const thorchainApi: SwapperApi = {
)

if (outboundTxConfirmations !== undefined && outboundTxConfirmations > 0) {
console.log({ outboundTxConfirmations, hasOutboundTx, buyTxHash })
return {
buyTxHash,
status: TxStatus.Confirmed,
Expand All @@ -396,9 +395,6 @@ export const thorchainApi: SwapperApi = {
}

const { message, status } = getLatestThorTxStatusMessage(data, hasOutboundTx)

console.log({ message, status })

return {
buyTxHash,
status,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const getLatestThorTxStatusMessage = (

if (!hasOutboundTx && obj.completed) {
return {
message: 'Swap finalized, awaiting transaction confirmation',
message: undefined, // undefined because the tx is complete and no message will be displayed
status: TxStatus.Confirmed,
}
}
Expand Down

0 comments on commit 3b521ca

Please sign in to comment.