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