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):
10631063 self .vBits = []
10641064
10651065 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" )
10671067 self .vHash = deser_uint256_vector (f )
10681068 vBytes = deser_string (f )
10691069 self .vBits = []
@@ -1072,7 +1072,7 @@ def deserialize(self, f):
10721072
10731073 def serialize (self ):
10741074 r = b""
1075- r += self .nTransactions .to_bytes (4 , "little" , signed = True )
1075+ r += self .nTransactions .to_bytes (4 , "little" )
10761076 r += ser_uint256_vector (self .vHash )
10771077 vBytesArray = bytearray ([0x00 ] * ((len (self .vBits ) + 7 )// 8 ))
10781078 for i in range (len (self .vBits )):
You can’t perform that action at this time.
0 commit comments