Skip to content

Commit 80b90b3

Browse files
committed
Fix golangci-lint error
1 parent 6d7c3ea commit 80b90b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/provider/bridge/routernitro/routernitro.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (r Routernitro) Swap(ctx context.Context, args provider.SwapParams) (provid
7979
targetChain = r.conf.GetChainConfig(args.TargetChain)
8080
tokenOut = r.conf.GetTokenInfoOnChain(args.TargetToken, targetChain.Name)
8181
tokenOutAmount = args.Amount
82-
tokenOutAmountWei = decimal.NewFromBigInt(chains.EthToWei(tokenOutAmount, tokenOut.Decimals), 0)
82+
tokenOutAmountWei decimal.Decimal
8383
tokenIn configs.Token
8484
tokenInAmount decimal.Decimal
8585
tokenInAmountWei decimal.Decimal

0 commit comments

Comments
 (0)