Skip to content

Commit

Permalink
rollback print
Browse files Browse the repository at this point in the history
  • Loading branch information
kosegor committed Sep 20, 2023
1 parent a864175 commit 707849d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/metoken/price.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ func (ip IndexPrices) RedeemRate(from sdk.Coin, to string) (sdkmath.Int, error)
return sdkmath.Int{}, err
}

fmt.Printf("from.Amount: %s\n", from.Amount.String())
fmt.Printf("toPrice: %s\n", toPrice.Price.String())
fmt.Printf("toPrice.RedeemRate: %s\n", toPrice.RedeemRate.String())

return toPrice.RedeemRate.MulInt(from.Amount).TruncateInt(), nil
}

Expand Down

0 comments on commit 707849d

Please sign in to comment.