We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3b752 commit f522fb7Copy full SHA for f522fb7
test/functional/test_framework/messages.py
@@ -167,21 +167,6 @@ def ser_string_vector(l):
167
return r
168
169
170
-def deser_int_vector(f):
171
- nit = deser_compact_size(f)
172
- r = []
173
- for i in range(nit):
174
- t = struct.unpack("<i", f.read(4))[0]
175
- r.append(t)
176
- return r
177
-
178
179
-def ser_int_vector(l):
180
- r = ser_compact_size(len(l))
181
- for i in l:
182
- r += struct.pack("<i", i)
183
184
185
# Deserialize from a hex string representation (eg from RPC)
186
def FromHex(obj, hex_string):
187
obj.deserialize(BytesIO(hex_str_to_bytes(hex_string)))
0 commit comments