Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lupin012 committed Apr 24, 2024
1 parent 3b8ad2a commit 051d369
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions silkworm/rpc/json/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ void to_json(nlohmann::json& json, const BlockHeader& header) {
json["parentBeaconBlockRoot"] = nullptr;
if (header.withdrawals_root) {
json["withdrawalsRoot"] = *header.withdrawals_root;
}
else {
} else {
json["withdrawalsRoot"] = nullptr;
}
}
Expand Down

0 comments on commit 051d369

Please sign in to comment.