Skip to content

Commit a111ee0

Browse files
committed
fix
1 parent d19e47e commit a111ee0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mainnet/processors/protocol/protocol-sql-simple.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const upsertProtocolDailyStatDetails = async (ctx: Context, fromDate: string) =>
7575
a.date,
7676
'${product.product}' as product,
7777
(a.date::date + interval '1 day' - interval '1 second')::timestamp as timestamp,
78-
COALESCE(ROUND(a.rate_usd * 1e18)::BIGINT, 0) as rate_usd,
78+
COALESCE(ROUND(a.rate_usd * 1e18), 0) as rate_usd,
7979
COALESCE(a.total_assets * a.rate_eth, 0) as earning_tvl,
8080
COALESCE(a.total_assets * a.rate_eth, 0) as tvl,
8181
COALESCE(a.total_supply * a.rate_eth, 0) as supply,

0 commit comments

Comments
 (0)