From 9cc6f747dfebebe5b3125af7d0be2c18944783cf Mon Sep 17 00:00:00 2001 From: Lin Huang Date: Thu, 28 Mar 2024 16:46:57 -0400 Subject: [PATCH] always provide fetch_finality_data field for get_blocks_request_v1 --- tests/ship_streamer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/ship_streamer.cpp b/tests/ship_streamer.cpp index 7ac51c4305..0c2be248a3 100644 --- a/tests/ship_streamer.cpp +++ b/tests/ship_streamer.cpp @@ -112,10 +112,8 @@ int main(int argc, char* argv[]) { request_writer.Bool(fetch_traces); request_writer.Key("fetch_deltas"); request_writer.Bool(fetch_deltas); - if( fetch_finality_data ) { - request_writer.Key("fetch_finality_data"); - request_writer.Bool(fetch_finality_data); - } + request_writer.Key("fetch_finality_data"); + request_writer.Bool(fetch_finality_data); request_writer.EndObject(); request_writer.EndArray();