pass fmt and clippy
This commit is contained in:
parent
32789c9a11
commit
901b76c4e0
|
@ -1,7 +1,7 @@
|
|||
use crate::stores::data_cache::DataCache;
|
||||
use solana_sdk::commitment_config::CommitmentConfig;
|
||||
use crate::stores::block_information_store::BlockInformation;
|
||||
use crate::stores::data_cache::DataCache;
|
||||
use serde::Serialize;
|
||||
use solana_sdk::commitment_config::CommitmentConfig;
|
||||
use solana_sdk::hash::Hash;
|
||||
use solana_sdk::signature::Signature;
|
||||
use solana_sdk::transaction::{uses_durable_nonce, Transaction, VersionedTransaction};
|
||||
|
|
|
@ -58,9 +58,9 @@ impl AccountPretty {
|
|||
read_stake_from_account_data(self.data.as_slice())
|
||||
}
|
||||
|
||||
pub fn read_stake_history(&self) -> Option<StakeHistory> {
|
||||
read_historystake_from_account(self.data.as_slice())
|
||||
}
|
||||
// pub fn read_stake_history(&self) -> Option<StakeHistory> {
|
||||
// read_historystake_from_account(self.data.as_slice())
|
||||
// }
|
||||
|
||||
pub fn read_vote(&self) -> anyhow::Result<VoteState> {
|
||||
if self.data.is_empty() {
|
||||
|
|
|
@ -14,10 +14,9 @@ use std::sync::Arc;
|
|||
use tokio::sync::mpsc::Receiver;
|
||||
use yellowstone_grpc_client::GeyserGrpcClient;
|
||||
use yellowstone_grpc_proto::geyser::CommitmentLevel;
|
||||
use yellowstone_grpc_proto::prelude::subscribe_update::UpdateOneof;
|
||||
use yellowstone_grpc_proto::prelude::SubscribeRequestFilterAccounts;
|
||||
use yellowstone_grpc_proto::prelude::SubscribeRequestFilterBlocksMeta;
|
||||
use yellowstone_grpc_proto::prelude::SubscribeUpdate;
|
||||
use yellowstone_grpc_proto::prelude::{subscribe_update::UpdateOneof, SubscribeRequestFilterSlots};
|
||||
use yellowstone_grpc_proto::tonic::Status;
|
||||
|
||||
mod account;
|
||||
|
|
Loading…
Reference in New Issue