We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 213d06d commit 663f3bdCopy full SHA for 663f3bd
1 file changed
pkg/code/async/geyser/external_deposit.go
@@ -547,7 +547,7 @@ func getPurchasesFromSwap(
547
548
rawUsdPurchase := &transactionpb.ExchangeDataWithoutRate{
549
Currency: "usd",
550
- NativeAmount: usdAmount,
+ NativeAmount: math.Round(usdAmount), // Round to nearest $1 since we don't support decimals in app yet
551
}
552
553
// There is no memo for a blockchain message
0 commit comments