Skip to content

Commit

Permalink
Use the previous block hash
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypan authored and Jay Pan committed Oct 27, 2024
1 parent d03e8f8 commit b423388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_reward_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'] = {
Expand Down

0 comments on commit b423388

Please sign in to comment.