Skip to content

Commit

Permalink
[fixup] relay parent from candidate (#2332)
Browse files Browse the repository at this point in the history
Signed-off-by: iceseer <iceseer@gmail.com>
  • Loading branch information
iceseer authored Jan 13, 2025
1 parent 5ca6b6b commit fef2e72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/parachain/validator/impl/parachain_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2409,13 +2409,14 @@ namespace kagome::parachain {
network::CandidateReceipt candidate,
network::ParachainBlock &&pov,
runtime::PersistedValidationData &&pvd,
const primitives::BlockHash &relay_parent) {
const primitives::BlockHash &_relay_parent) {
REINVOKE(*main_pool_handler_,
validateAsync<kMode>,
candidate,
std::move(pov),
std::move(pvd),
relay_parent);
_relay_parent);
const auto relay_parent = candidate.descriptor.relay_parent;

TRY_GET_OR_RET(parachain_state,
tryGetStateByRelayParent(candidate.descriptor.relay_parent));
Expand Down

0 comments on commit fef2e72

Please sign in to comment.