From 045c447d93a46ca63908147ce5df1553e91c88bc Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 31 Mar 2024 15:37:57 +0000 Subject: [PATCH] make fmt --- silkworm/rpc/core/rawdb/chain.hpp | 1 - silkworm/rpc/core/receipts.hpp | 3 +-- silkworm/rpc/ethdb/cbor.cpp | 2 -- silkworm/rpc/ethdb/cbor.hpp | 3 ++- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/silkworm/rpc/core/rawdb/chain.hpp b/silkworm/rpc/core/rawdb/chain.hpp index db84f1815b..b1d803bc14 100644 --- a/silkworm/rpc/core/rawdb/chain.hpp +++ b/silkworm/rpc/core/rawdb/chain.hpp @@ -21,7 +21,6 @@ #include #include - #include #include #include diff --git a/silkworm/rpc/core/receipts.hpp b/silkworm/rpc/core/receipts.hpp index 5f0d2f3712..4248378404 100644 --- a/silkworm/rpc/core/receipts.hpp +++ b/silkworm/rpc/core/receipts.hpp @@ -16,10 +16,9 @@ #pragma once -#include - #include +#include #include #include diff --git a/silkworm/rpc/ethdb/cbor.cpp b/silkworm/rpc/ethdb/cbor.cpp index a3c6d02edf..2542e809f5 100644 --- a/silkworm/rpc/ethdb/cbor.cpp +++ b/silkworm/rpc/ethdb/cbor.cpp @@ -23,7 +23,6 @@ #include #include #include - #include #include #include @@ -197,7 +196,6 @@ Task cbor_decode(boost::asio::thread_pool& workers, const silkworm::Bytes& co_await boost::asio::async_compose( [&](auto& self) { boost::asio::post(workers, [&, self = std::move(self)]() mutable { - bool operation_result = true; auto json = nlohmann::json::from_cbor(bytes); SILK_TRACE << "cbor_decode> json: " << json.dump(); diff --git a/silkworm/rpc/ethdb/cbor.hpp b/silkworm/rpc/ethdb/cbor.hpp index 767a380642..a6ef0edae4 100644 --- a/silkworm/rpc/ethdb/cbor.hpp +++ b/silkworm/rpc/ethdb/cbor.hpp @@ -18,10 +18,11 @@ #include +#include + #include #include -#include #include #include