Switch to a single use

This commit is contained in:
Michael Vines
2021-03-26 20:26:06 -07:00
parent 5791b95b17
commit 16e4ccca13
14 changed files with 212 additions and 181 deletions

View File

@@ -1,14 +1,16 @@
use crate::rpc_client::RpcClient;
use solana_sdk::{
account::{Account, ReadableAccount},
account_utils::StateMut,
commitment_config::CommitmentConfig,
nonce::{
state::{Data, Versions},
State,
use {
crate::rpc_client::RpcClient,
solana_sdk::{
account::{Account, ReadableAccount},
account_utils::StateMut,
commitment_config::CommitmentConfig,
nonce::{
state::{Data, Versions},
State,
},
pubkey::Pubkey,
system_program,
},
pubkey::Pubkey,
system_program,
};
#[derive(Debug, thiserror::Error, PartialEq)]