File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/functional/test_framework Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1063,7 +1063,7 @@ def __init__(self):
1063
1063
self .vBits = []
1064
1064
1065
1065
def deserialize (self , f ):
1066
- self .nTransactions = int .from_bytes (f .read (4 ), "little" , signed = True )
1066
+ self .nTransactions = int .from_bytes (f .read (4 ), "little" )
1067
1067
self .vHash = deser_uint256_vector (f )
1068
1068
vBytes = deser_string (f )
1069
1069
self .vBits = []
@@ -1072,7 +1072,7 @@ def deserialize(self, f):
1072
1072
1073
1073
def serialize (self ):
1074
1074
r = b""
1075
- r += self .nTransactions .to_bytes (4 , "little" , signed = True )
1075
+ r += self .nTransactions .to_bytes (4 , "little" )
1076
1076
r += ser_uint256_vector (self .vHash )
1077
1077
vBytesArray = bytearray ([0x00 ] * ((len (self .vBits ) + 7 )// 8 ))
1078
1078
for i in range (len (self .vBits )):
You can’t perform that action at this time.
0 commit comments