Skip to content

Commit 1ec1acb

Browse files
committed
build: fix formatting in node.rs
1 parent 6872a37 commit 1ec1acb

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

node/src/node.rs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@ use anyhow::{Result, bail};
4444
use locktick::parking_lot::RwLock;
4545
#[cfg(not(feature = "locktick"))]
4646
use parking_lot::RwLock;
47-
use std::{cmp, collections::HashMap, fs, net::SocketAddr, path::{Path, PathBuf}, str::FromStr, sync::Arc, time::Duration};
47+
use std::{
48+
cmp,
49+
collections::HashMap,
50+
fs,
51+
net::SocketAddr,
52+
path::{Path, PathBuf},
53+
str::FromStr,
54+
sync::Arc,
55+
time::Duration,
56+
};
4857
use tokio::task;
4958

5059
/// The number of blocks between automatic database checkpoints.
@@ -456,7 +465,10 @@ impl<N: Network> Node<N> {
456465
#[cfg(test)]
457466
mod tests {
458467
use super::existing_startup_checkpoint_height;
459-
use std::{fs, time::{SystemTime, UNIX_EPOCH}};
468+
use std::{
469+
fs,
470+
time::{SystemTime, UNIX_EPOCH},
471+
};
460472

461473
#[test]
462474
fn seeds_last_checkpoint_height_when_startup_checkpoint_directory_exists() {

0 commit comments

Comments
 (0)