Co-authored-by: Carl Lin <carl@solana.com>
This commit is contained in:
carllin
2020-11-20 03:17:19 -08:00
committed by GitHub
parent 87d907db74
commit 9bb11a2dcc
5 changed files with 75 additions and 58 deletions

View File

@@ -379,7 +379,7 @@ mod test {
let mut accounts_info = AccountsInfo::default();
let one_sol = sol_to_lamports(1.0);
let cluster = LocalCluster::new(&ClusterConfig {
let cluster = LocalCluster::new(&mut ClusterConfig {
cluster_type: ClusterType::MainnetBeta,
node_stakes: vec![10; 1],
cluster_lamports: sol_to_lamports(1_000_000_000.0),