Remove spurious rng argument to encode_unified.
This commit is contained in:
parent
97f9fbb44c
commit
e454065250
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue