diff --git a/zcash_test_vectors/unified_address.py b/zcash_test_vectors/unified_address.py index 9d47721..f89eeda 100755 --- a/zcash_test_vectors/unified_address.py +++ b/zcash_test_vectors/unified_address.py @@ -91,7 +91,7 @@ def main(): else: unknown_bytes = None - ua = encode_unified(rng, receivers, "u") + ua = encode_unified(receivers, "u") expected_lengths = { ORCHARD_ITEM: 43, diff --git a/zcash_test_vectors/unified_encoding.py b/zcash_test_vectors/unified_encoding.py index 49a3ad0..c596206 100644 --- a/zcash_test_vectors/unified_encoding.py +++ b/zcash_test_vectors/unified_encoding.py @@ -18,7 +18,7 @@ def padding(hrp): assert(len(hrp) <= 16) return bytes(hrp, "utf8") + bytes(16 - len(hrp)) -def encode_unified(rng, items, hrp): +def encode_unified(items, hrp): encoded_items = [] has_p2pkh = False diff --git a/zcash_test_vectors/unified_full_viewing_keys.py b/zcash_test_vectors/unified_full_viewing_keys.py index f8affac..61ad772 100755 --- a/zcash_test_vectors/unified_full_viewing_keys.py +++ b/zcash_test_vectors/unified_full_viewing_keys.py @@ -90,7 +90,7 @@ def main(): (P2PKH_ITEM, t_key_bytes), (unknown_tc, unknown_bytes), ] - ufvk = encode_unified(rng, receivers, "uview") + ufvk = encode_unified(receivers, "uview") expected_lengths = { P2PKH_ITEM: 65, diff --git a/zcash_test_vectors/unified_incoming_viewing_keys.py b/zcash_test_vectors/unified_incoming_viewing_keys.py index b8b7970..8bfb526 100755 --- a/zcash_test_vectors/unified_incoming_viewing_keys.py +++ b/zcash_test_vectors/unified_incoming_viewing_keys.py @@ -86,7 +86,7 @@ def main(): (P2PKH_ITEM, t_key_bytes), (unknown_tc, unknown_bytes), ] - uivk = encode_unified(rng, receivers, "uivk") + uivk = encode_unified(receivers, "uivk") expected_lengths = { P2PKH_ITEM: 65,