Merge pull request #1960 from ethereum/fix-block-merkle-type
Fix block data root type
This commit is contained in:
commit
78fc5727c2
2
setup.py
2
setup.py
|
@ -228,7 +228,7 @@ PHASE1_SUNDRY_FUNCTIONS = '''
|
||||||
def get_block_data_merkle_root(data: ByteList) -> Root:
|
def get_block_data_merkle_root(data: ByteList) -> Root:
|
||||||
# To get the Merkle root of the block data, we need the Merkle root without the length mix-in
|
# To get the Merkle root of the block data, we need the Merkle root without the length mix-in
|
||||||
# The below implements this in the Remerkleable framework
|
# The below implements this in the Remerkleable framework
|
||||||
return data.get_backing().get_left().merkle_root()
|
return Root(data.get_backing().get_left().merkle_root())
|
||||||
|
|
||||||
|
|
||||||
_get_start_shard = get_start_shard
|
_get_start_shard = get_start_shard
|
||||||
|
|
Loading…
Reference in New Issue