Skip to content

Commit

Permalink
add priority fee in cli (#66)
Browse files Browse the repository at this point in the history
* add priority fee

* fmt

* delete files
  • Loading branch information
andrewsource147 authored Apr 1, 2024
1 parent 7cf573f commit 8c03225
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 87 deletions.
4 changes: 4 additions & 0 deletions cli/farming-cli/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ pub struct ConfigOverride {
default_value_t = farming::id().to_string()
)]
pub program_id: String,

/// Priority fee
#[clap(global = true, long)]
pub priority_fee: Option<u64>,
}

#[derive(Parser, Debug)]
Expand Down
Loading

0 comments on commit 8c03225

Please sign in to comment.