Skip to content

Commit

Permalink
fix empty pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
obatirou committed Nov 27, 2024
1 parent 8efb705 commit 38dba08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cairo_zero/kakarot/account.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,11 @@ namespace Account {
tempvar address = new model.Address(starknet=starknet_address, evm=evm_address);
let balance = fetch_balance(address);
assert balance_ptr = new Uint256(balance.low, balance.high);
tempvar code_hash_ptr = new Uint256(0, 0);
let account = Account.init(
address=address,
code_len=0,
code=bytecode,
code_hash=code_hash_ptr,
code_hash=cast(0, Uint256*),
nonce=0,
balance=balance_ptr,
);
Expand Down

0 comments on commit 38dba08

Please sign in to comment.