Skip to content

Commit

Permalink
rpcdaemon: change from static to inline (erigontech#1609)
Browse files Browse the repository at this point in the history
lupin012 authored Oct 25, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 40729c9 commit 3cc32c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silkworm/silkrpc/json/types.hpp
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@ void to_json(nlohmann::json& json, const BlockHeader& ommer);

namespace silkworm::rpc {

static constexpr std::string_view jsonVersion{"2.0"};
inline constexpr std::string_view jsonVersion{"2.0"};
inline constexpr auto jsonVersionSize = 8;
inline constexpr auto addressSize = 64;
inline constexpr auto hashSize = 128;

0 comments on commit 3cc32c6

Please sign in to comment.