We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a4533 commit e999772Copy full SHA for e999772
test/functional/test_framework/script.py
@@ -368,7 +368,7 @@ def __init__(self, d=0):
368
369
@staticmethod
370
def encode(obj):
371
- val = obj.value;
+ val = obj.value
372
r = bytearray(0)
373
if val == 0:
374
return bytes(r)
@@ -385,7 +385,7 @@ def encode(obj):
385
386
387
def decode(vch):
388
- push_size = vch[0] # We assume valid push_size and minimal encoding
+ # We assume valid push_size and minimal encoding
389
value = vch[1:]
390
# Mask for all but the highest result bit
391
num_mask = (2**(len(value)*8) - 1) >> 1
0 commit comments