From bc35dc410bacdff9c67d971f8150e8e3e9b18fa9 Mon Sep 17 00:00:00 2001 From: protolambda Date: Wed, 8 Jul 2020 15:40:49 +0200 Subject: [PATCH] fix block data root type, thanks @ericsson49 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ddf178594..214559d22 100644 --- a/setup.py +++ b/setup.py @@ -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