We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aece765 commit a6233dcCopy full SHA for a6233dc
core/src/apps/polkadot/codec/types.py
@@ -21,7 +21,7 @@ def process_compact_bytes(self):
21
elif byte_mod == 2:
22
self.compact_length = 4
23
else:
24
- self.compact_length = int(5 + (compact_byte[0] - 3) >> 2)
+ self.compact_length = int(5 + ((compact_byte[0] - 3) >> 2))
25
26
if self.compact_length == 1:
27
self.compact_bytes = compact_byte
0 commit comments