Skip to content

Commit

Permalink
refactor: remove unecessary wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
obatirou committed Jan 15, 2025
1 parent be54e87 commit 4179ba0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cairo/ethereum/cancun/state.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,7 @@ func get_transient_storage{poseidon_ptr: PoseidonBuiltin*, transient_storage: Tr
let transient_storage_tries_dict_ptr = cast(
transient_storage.value._tries.value.dict_ptr, DictAccess*
);
with poseidon_ptr {
let (trie_ptr) = hashdict_get{dict_ptr=transient_storage_tries_dict_ptr}(1, &address.value);
}
let (trie_ptr) = hashdict_get{dict_ptr=transient_storage_tries_dict_ptr}(1, &address.value);

// If no storage trie is associated to that address, return the 0 default
if (trie_ptr == 0) {
Expand Down

0 comments on commit 4179ba0

Please sign in to comment.