1
0

fix: witness serialization

This commit is contained in:
ThomasV
2017-10-22 12:39:36 +02:00
parent b8c7edf070
commit 8683d71711
2 changed files with 4 additions and 4 deletions

View File

@@ -230,7 +230,6 @@ def op_push(i):
def push_script(x):
return op_push(len(x)//2) + x
def sha256(x):
x = to_bytes(x, 'utf8')
return bytes(hashlib.sha256(x).digest())