Skip to content

Commit

Permalink
chore(rooch-db): correct typo in iterator variable name (#3030)
Browse files Browse the repository at this point in the history
Fix typo in variable name from 'feild_key' to 'filed_key' in state change iteration.
  • Loading branch information
popcnt1 authored Dec 9, 2024
1 parent c1192e9 commit 008add5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rooch-db/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ impl RoochDB {
let state_change_set_ext = state_change_set_ext_opt.unwrap();

let mut object_ids = vec![];
for (_feild_key, object_change) in state_change_set_ext.state_change_set.changes.clone()
for (_filed_key, object_change) in state_change_set_ext.state_change_set.changes.clone()
{
collect_revert_object_change_ids(object_change, &mut object_ids)?;
}
Expand Down Expand Up @@ -331,7 +331,7 @@ impl RoochDB {
let mut state_index_generator = IndexerObjectStatesIndexGenerator::default();
let mut indexer_object_state_change_set = IndexerObjectStateChangeSet::default();

for (_feild_key, object_change) in state_change_set_ext.state_change_set.changes {
for (_filed_key, object_change) in state_change_set_ext.state_change_set.changes {
handle_revert_object_change(
&mut state_index_generator,
tx_order,
Expand Down

0 comments on commit 008add5

Please sign in to comment.