diff --git a/E2E-tests/src/substrate_api.py b/E2E-tests/src/substrate_api.py index e31760eec..0b25d6bf9 100644 --- a/E2E-tests/src/substrate_api.py +++ b/E2E-tests/src/substrate_api.py @@ -647,8 +647,7 @@ def get_block_header(self, block_no): return self.substrate.get_block_header(block_number=block_no)["header"] def get_block(self, block_no): - block_hash = self.substrate.get_block_hash(block_no) - return self.substrate.get_block(block_hash) + return self.substrate.get_block(block_number=block_no) def get_block_author(self, block_number): """Custom implementation of substrate.get_block(include_author=True) to get block author.