diff --git a/zcash_test_vectors/unified_address.py b/zcash_test_vectors/unified_address.py index 762a968..d271c19 100755 --- a/zcash_test_vectors/unified_address.py +++ b/zcash_test_vectors/unified_address.py @@ -74,7 +74,7 @@ def main(): if has_t_addr and is_p2pkh: t_account_key = t_coin_key.child(hardened(account)) t_external_key = t_account_key.child(0) - t_index_key = t_account_key.child(j) + t_index_key = t_external_key.child(j) t_index_pubkey = t_index_key.public_key() t_addr = t_index_pubkey.address()