Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
TonioMacaronio committed Jan 19, 2020
1 parent 52e6d65 commit ddd7fbf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions core/data_restore/src/storage_interactor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::events::{BlockEvent, EventType};
use crate::events_state::EventsState;
use crate::rollup_ops::RollupOpsBlock;
use models::node::block::Block;
use models::node::{AccountMap, FranklinOp, AccountUpdate, AccountUpdates};
use models::node::{AccountMap, AccountUpdate, AccountUpdates, FranklinOp};
use models::TokenAddedEvent;
use models::{Action, EncodedProof, Operation};
use storage::{
Expand Down Expand Up @@ -110,11 +110,7 @@ pub fn save_events_state(
};

storage
.save_events_state_with_data_restore_state(
new_events.as_slice(),
tokens,
&block_number,
)
.save_events_state_with_data_restore_state(new_events.as_slice(), tokens, &block_number)
.expect("Cant update events state");
}

Expand Down

0 comments on commit ddd7fbf

Please sign in to comment.