From 0354bab56f3c549701013e7d67527ec43a69c5ad Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Fri, 26 Feb 2021 18:43:14 +0800 Subject: [PATCH] client/example: Fix build --- client/example/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/example/src/main.rs b/client/example/src/main.rs index cb4331dd..12968e77 100644 --- a/client/example/src/main.rs +++ b/client/example/src/main.rs @@ -31,12 +31,12 @@ fn main() -> Result<()> { let opts = Opts::parse(); // Wallet and cluster params. - let payer = read_keypair_file(&shellexpand::tilde("~/.config/solana/id.json")) + let payer = read_keypair_file(&*shellexpand::tilde("~/.config/solana/id.json")) .expect("Example requires a keypair file"); let url = "http://localhost:8899"; // Client. - let client = Client::new_with_options(url, payer, CommitmentConfig::recent()); + let client = Client::new_with_options(url, payer, CommitmentConfig::processed()); // Run tests. composite(&client, opts.composite_pid)?;