aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-11-17 15:35:15 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-11-17 15:35:15 +0100
commitf522fb7c9c121641ce552774e3993942106ec336 (patch)
tree74eb441227c4b0040126b451a1a1aaa068b843c2 /test
parent0f3b752ec78e53099af0277d15fc2bf8e0c92d05 (diff)
tests: Remove unused mininode functions deser_int_vector(f) and ser_int_vector(l)
Diffstat (limited to 'test')
-rw-r--r--test/functional/test_framework/messages.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py
index 40d02f3ee0..eee24910cb 100644
--- a/test/functional/test_framework/messages.py
+++ b/test/functional/test_framework/messages.py
@@ -167,21 +167,6 @@ def ser_string_vector(l):
return r
-def deser_int_vector(f):
- nit = deser_compact_size(f)
- r = []
- for i in range(nit):
- t = struct.unpack("<i", f.read(4))[0]
- r.append(t)
- return r
-
-
-def ser_int_vector(l):
- r = ser_compact_size(len(l))
- for i in l:
- r += struct.pack("<i", i)
- return r
-
# Deserialize from a hex string representation (eg from RPC)
def FromHex(obj, hex_string):
obj.deserialize(BytesIO(hex_str_to_bytes(hex_string)))