consensus/state: Make State and Client be part of ValidatorState.

This commit is contained in:
parazyd
2022-04-26 16:29:20 +02:00
parent 2165d032ca
commit 6ee551bdbd
5 changed files with 29 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ use crate::{
/// This includes, receiving, broadcasting, and building.
pub struct Client {
pub main_keypair: Mutex<Keypair>,
wallet: WalletPtr,
pub wallet: WalletPtr,
mint_pk: Lazy<ProvingKey>,
burn_pk: Lazy<ProvingKey>,
}