client/example: Fix build

This commit is contained in:
Armani Ferrante 2021-02-26 18:43:14 +08:00
parent dc61f4115c
commit 0354bab56f
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
1 changed files with 2 additions and 2 deletions

View File

@ -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)?;