Skip to content

Commit

Permalink
Merge pull request #9 from Mododo/dict_find_owned
Browse files Browse the repository at this point in the history
dict_find_owned gas usage
  • Loading branch information
Rexagon authored Oct 17, 2023
2 parents 3d4bd42 + ebace19 commit 324b085
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dict/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ pub fn dict_find_owned(
let remaining_bits = key.remaining_bits();
let prefix_len = key_bit_len - remaining_bits;
original_key_range = original_key_range.get_prefix(prefix_len, 0);
let _compatibility_gas = ok!(context.load_dyn_cell(data, LoadMode::UseGas));
break 'fork (data, remaining_bits, None);
}
}
Expand Down

0 comments on commit 324b085

Please sign in to comment.