From b42338875e1378fa22f19e370ea395fb5603e9c5 Mon Sep 17 00:00:00 2001 From: jaypan Date: Sun, 27 Oct 2024 21:41:39 +0100 Subject: [PATCH] Use the previous block hash --- tools/check_reward_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_reward_v1.py b/tools/check_reward_v1.py index 348ab0c..e93d38c 100644 --- a/tools/check_reward_v1.py +++ b/tools/check_reward_v1.py @@ -84,7 +84,7 @@ def get_session_validator(substrate): module='ParachainStaking', storage_function='CandidatePool', params=[block_author], - block_hash=block_hash, + block_hash=previous_block_hash, ) staking_info[block_author] = info.value staking_info[block_author]['delegators'] = {