Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
Changing the deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerson2102 committed Sep 27, 2024
1 parent 1521005 commit d209a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/contracts/src/kakarot_core/eth_rpc.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d209a13

Please sign in to comment.