Skip to content

Commit

Permalink
Fix parachain validator metric (#2328)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsa authored Dec 30, 2024
1 parent 041e1b0 commit 02a6625
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/parachain/validator/impl/parachain_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,9 @@ namespace kagome::parachain {

if (!validator) {
SL_TRACE(logger_, "Not a parachain validator, or no para keys.");
} else {
is_parachain_validator = true;
}
is_parachain_validator = true;

if (!session_info) {
return Error::NO_SESSION_INFO;
Expand Down

0 comments on commit 02a6625

Please sign in to comment.