Merge pull request #15 from FlipsideCrypto/ez-bridge

fix amount_usd calculation
This commit is contained in:
Mike Stepanovic 2025-08-19 09:11:13 -06:00 committed by GitHub
commit 9a9e8228e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,7 @@ SELECT
10,
b.decimals
) AS amount,
(amount / pow(10, b.decimals)) * C.price AS amount_usd,
amount * C.price AS amount_usd,
COALESCE(
C.token_is_verified,
FALSE