From 83d6cd85d66ebefa65d71988c5de9e330a4664ec Mon Sep 17 00:00:00 2001 From: Theo Butler Date: Fri, 22 Nov 2024 15:20:23 -0500 Subject: [PATCH] fix: encode legacy budget as string --- src/bin/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/main.rs b/src/bin/main.rs index 5f4064e..16c3f32 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -511,7 +511,7 @@ pub fn legacy_messages( "response_time_ms": client_query.response_time_ms, "request_bytes": client_query.request_bytes, "response_bytes": client_query.response_bytes, - "budget": 40e-6_f32, + "budget": 40e-6_f32.to_string(), "query_count": 1, "fee": client_query.indexer_queries.iter().map(|i| i.fee_grt).sum::() as f32, "fee_usd": client_query.total_fees_usd as f32,