Skip to content

Commit d83e35f

Browse files
committed
output serialize
1 parent b58a7a6 commit d83e35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybtc/blockchain.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def __init__(self, value, script):
214214
self.pk_script = Script(script)
215215

216216
def serialize(self):
217-
return i.value.to_bytes(8,'little') \
217+
return self.value.to_bytes(8,'little') \
218218
+ to_var_int(len(self.pk_script.raw)) + self.pk_script.raw
219219

220220

0 commit comments

Comments
 (0)