From 2a00f9e753919bfdb6b927aa4fb45efd74f36d3e Mon Sep 17 00:00:00 2001 From: Darlington02 Date: Wed, 20 Nov 2024 00:45:59 +0100 Subject: [PATCH] chore: update `get_account` --- src/registry/registry.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registry/registry.cairo b/src/registry/registry.cairo index 2003248..6123237 100644 --- a/src/registry/registry.cairo +++ b/src/registry/registry.cairo @@ -112,7 +112,7 @@ pub mod Registry { let prefix: felt252 = 'STARKNET_CONTRACT_ADDRESS'; let account_address = PedersenTrait::new(0) .update(prefix) - .update(0) + .update(get_contract_address().into()) .update(salt) .update(implementation_hash) .update(constructor_calldata_hash)