Skip to content

Commit

Permalink
Self review
Browse files Browse the repository at this point in the history
  • Loading branch information
boundless-forest committed Oct 9, 2023
1 parent 5fe9386 commit ef7ae7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ scale-value = { version = "0.12.0" }
comfy-table = { version = "7.0.1" }
ratatui = { version = "0.23.0", features = ["all-widgets"] }
crossterm = { version = "0.27.0" }
futures = "0.3.28"
array-bytes = "6.1.0"
array-bytes = { version = "6.1.0" }
# substrate
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" }
Expand Down
2 changes: 0 additions & 2 deletions src/handler/dashboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ impl<T> StatefulList<T> {
},
None => 0,
};
log::debug!(target: "cli", "detect down key, select, {:?}", i);
self.state.select(Some(i));
}

Expand All @@ -325,7 +324,6 @@ impl<T> StatefulList<T> {
},
None => 0,
};
log::debug!(target: "cli", "detect up key, select, {:?}", i);
self.state.select(Some(i));
}
}
1 change: 1 addition & 0 deletions src/rpc/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ pub trait StateApi {
) -> RpcResult<Option<R>>;
}

/// The Subscribe API
#[async_trait]
pub trait SubscribeApi {
/// The chain info type
Expand Down

0 comments on commit ef7ae7b

Please sign in to comment.