From 2a6a15c0b8f589bdc9b52df40a3f9192290bfa71 Mon Sep 17 00:00:00 2001 From: Gerson2102 Date: Fri, 27 Sep 2024 07:38:40 -0600 Subject: [PATCH] Changing the deprecated function --- crates/contracts/src/kakarot_core/eth_rpc.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/contracts/src/kakarot_core/eth_rpc.cairo b/crates/contracts/src/kakarot_core/eth_rpc.cairo index 3adab0ce9..bef7075c7 100644 --- a/crates/contracts/src/kakarot_core/eth_rpc.cairo +++ b/crates/contracts/src/kakarot_core/eth_rpc.cairo @@ -128,7 +128,7 @@ pub impl EthRPC< fn eth_get_transaction_count(self: @TContractState, address: EthAddress) -> u64 { let kakarot_state = KakarotState::get_state(); - let starknet_address = kakarot_state.compute_starknet_address(address); + let starknet_address = kakarot_state.get_starknet_address(address); let account = IAccountDispatcher { contract_address: starknet_address }; let nonce = account.get_nonce(); nonce