We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40d4af2 commit b138e58Copy full SHA for b138e58
pybtc/opcodes.py
@@ -151,6 +151,9 @@
151
RAW_OPCODE = dict((OPCODE[i], i) for i in OPCODE)
152
BYTE_OPCODE = dict((i, bytes([OPCODE[i]])) for i in OPCODE)
153
HEX_OPCODE = dict((i, bytes([OPCODE[i]]).hex()) for i in OPCODE)
154
+for i in range(256):
155
+ if i not in RAW_OPCODE:
156
+ RAW_OPCODE[i]="OP_UNKNOWN"
157
158
OP_FALSE = BYTE_OPCODE["OP_FALSE"]
159
OP_0 = BYTE_OPCODE["OP_0"]
setup.py
@@ -5,7 +5,7 @@
5
6
7
setup(name='pybtc',
8
- version='2.0.7',
+ version='2.0.8',
9
description='Python Bitcoin library',
10
keywords='bitcoin',
11
url='https://github.com/bitaps-com/pybtc',
0 commit comments