Skip to content
Snippets Groups Projects
Commit 10f0f3b4 authored by Moul's avatar Moul
Browse files

[mod] Transaction.from_compact(): Remove version condition for blockstamp field

parent 95e253cd
Branches
Tags
1 merge request!56Several transaction enhancements, other improvements
...@@ -565,8 +565,6 @@ Comment: {comment} ...@@ -565,8 +565,6 @@ Comment: {comment}
locktime = int(header_data.group(7)) locktime = int(header_data.group(7))
n += 1 n += 1
blockstamp = None # type: Optional[BlockUID]
if version >= 3:
blockstamp = BlockUID.from_str(Transaction.parse_field("CompactBlockstamp", lines[n])) blockstamp = BlockUID.from_str(Transaction.parse_field("CompactBlockstamp", lines[n]))
n += 1 n += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment