Skip to content

Commit

Permalink
Fix small bug (#250)
Browse files Browse the repository at this point in the history
Co-authored-by: Karim <[email protected]>
  • Loading branch information
KarimJedda and Karim authored Sep 27, 2022
1 parent 4ebe4fa commit 39b4349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrateinterface/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2614,7 +2614,7 @@ def decode_block(block_data, block_data_hash=None):
if engine == b'BABE':
babe_predigest = self.runtime_config.create_scale_object(
type_string='RawBabePreDigest',
data=ScaleBytes(log_digest[1][1])
data=ScaleBytes(bytes(log_digest[1][1]))
)

babe_predigest.decode()
Expand Down

0 comments on commit 39b4349

Please sign in to comment.