Skip to content

Commit

Permalink
Changing the deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerson2102 committed Sep 28, 2024
1 parent 6f3b58f commit 2a6a15c
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 2a6a15c

Please sign in to comment.