Skip to content

Commit

Permalink
use default keypair for fee payer
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Aug 8, 2024
1 parent d622978 commit 4432fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4432fc5

Please sign in to comment.