From 343a97a5f790777ddb81c127285f72a0c3fb7a7b Mon Sep 17 00:00:00 2001 From: benesjan Date: Wed, 30 Aug 2023 07:32:10 +0000 Subject: [PATCH] WIP --- circuits/cpp/src/aztec3/circuits/hash.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/circuits/cpp/src/aztec3/circuits/hash.hpp b/circuits/cpp/src/aztec3/circuits/hash.hpp index 53cd1f3c5f7..fc2c121d836 100644 --- a/circuits/cpp/src/aztec3/circuits/hash.hpp +++ b/circuits/cpp/src/aztec3/circuits/hash.hpp @@ -75,13 +75,12 @@ typename NCT::address compute_contract_address_from_partial(Point const& po } template -typename NCT::CompleteAddress compute_complete_contract_address(Point const& point, - typename NCT::fr const& contract_address_salt, - typename NCT::fr const& function_tree_root, - typename NCT::fr const& constructor_hash) +CompleteAddress compute_complete_contract_address(Point const& point, + typename NCT::fr const& contract_address_salt, + typename NCT::fr const& function_tree_root, + typename NCT::fr const& constructor_hash) { using fr = typename NCT::fr; - using CompleteAddress = typename NCT::CompleteAddress; const fr partial_address = compute_partial_address(contract_address_salt, function_tree_root, constructor_hash);