mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-03 05:43:08 +00:00
fix: fmt
This commit is contained in:
parent
c0318de646
commit
dbb276e470
@ -136,12 +136,7 @@ impl NodeCore {
|
||||
pub fn store_present_accounts_at_path(&self, path: PathBuf) -> Result<PathBuf> {
|
||||
let dump_path = path.join("curr_accounts.json");
|
||||
|
||||
let curr_accs: Vec<Account> = self
|
||||
.storage
|
||||
.acc_map
|
||||
.values()
|
||||
.cloned()
|
||||
.collect();
|
||||
let curr_accs: Vec<Account> = self.storage.acc_map.values().cloned().collect();
|
||||
let accs_serialized = serde_json::to_vec_pretty(&curr_accs)?;
|
||||
|
||||
let mut acc_file = File::create(&dump_path).unwrap();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user