mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-07 03:08:10 +01:00
Add Decred transaction to and from bytes.
This commit is contained in:
@@ -460,7 +460,7 @@ class Test(unittest.TestCase):
|
||||
for i, expect_length in test_vectors:
|
||||
b = encode_varint(i)
|
||||
assert (len(b) == expect_length)
|
||||
assert (decode_varint(b) == i)
|
||||
assert (decode_varint(b) == (i, expect_length))
|
||||
|
||||
def test_base58(self):
|
||||
kv = edu.get_secret()
|
||||
|
||||
Reference in New Issue
Block a user