fix block data root type, thanks @ericsson49

This commit is contained in:
protolambda 2020-07-08 15:40:49 +02:00
parent a019b03ae0
commit bc35dc410b
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ PHASE1_SUNDRY_FUNCTIONS = '''
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
# 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