From 4432fc5eddb74010d4a6cfe15f7b59dae6a1f5be Mon Sep 17 00:00:00 2001 From: Hardhat Chad Date: Thu, 8 Aug 2024 05:22:47 +0000 Subject: [PATCH] use default keypair for fee payer --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7cbc2002..efbaa752 100644 --- a/src/main.rs +++ b/src/main.rs @@ -161,7 +161,7 @@ async fn main() { // Initialize miner. let cluster = args.rpc.unwrap_or(cli_config.json_rpc_url); let default_keypair = args.keypair.unwrap_or(cli_config.keypair_path.clone()); - let fee_payer_filepath = args.fee_payer.unwrap_or(cli_config.keypair_path.clone()); + let fee_payer_filepath = args.fee_payer.unwrap_or(default_keypair.clone()); let rpc_client = RpcClient::new_with_commitment(cluster, CommitmentConfig::confirmed()); let miner = Arc::new(Miner::new(