Skip to content

Commit

Permalink
chore: drop successful swap msg to trace level in uniswapv3 mode (#161
Browse files Browse the repository at this point in the history
)
  • Loading branch information
leovct authored Nov 17, 2023
1 parent 4f69f6e commit 68c68ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/loadtest/uniswapv3/swap.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func ExactInputSingleSwap(tops *bind.TransactOpts, swapRouter *uniswapv3.SwapRou
log.Error().Err(err).Str("tokenIn", swapDirection.tokenInName).Str("tokenOut", swapDirection.tokenOutName).Interface("amountIn", amountIn).Msg("Unable to swap")
return err
}
log.Debug().Str("tokenIn", swapDirection.tokenInName).Str("tokenOut", swapDirection.tokenOutName).Interface("amountIn", amountIn).Msg("Successful swap")
log.Trace().Str("tokenIn", swapDirection.tokenInName).Str("tokenOut", swapDirection.tokenOutName).Interface("amountIn", amountIn).Msg("Successful swap")
return nil
}

Expand Down

0 comments on commit 68c68ea

Please sign in to comment.