diff --git a/nano/node/blockprocessor.hpp b/nano/node/blockprocessor.hpp index bae8fbcb78..5130942c71 100644 --- a/nano/node/blockprocessor.hpp +++ b/nano/node/blockprocessor.hpp @@ -44,9 +44,9 @@ class block_processor final class context { public: - context (std::shared_ptr block, block_source source); + context (std::shared_ptr block, block_source source); - std::shared_ptr block; + std::shared_ptr const block; block_source const source; std::chrono::steady_clock::time_point const arrival{ std::chrono::steady_clock::now () };