Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 5ecfcd8

Browse files
committed
Address feedback
1 parent 03e419d commit 5ecfcd8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

stake-pool/cli/src/client.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ pub(crate) fn get_all_stake(
153153

154154
/// Helper function to add a compute unit limit instruction to a given set
155155
/// of instructions
156-
///
157-
/// Returns true if the instruction was added, false if it wasn't. The false
158-
/// case is used for offline signing, where we cannot access the network.
159156
pub(crate) fn add_compute_unit_limit_from_simulation(
160157
rpc_client: &RpcClient,
161158
instructions: &mut Vec<Instruction>,

stake-pool/cli/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2004,14 +2004,15 @@ fn main() {
20042004
.global(true)
20052005
.help("Transaction fee payer account [default: cli config keypair]"),
20062006
)
2007-
.arg(compute_unit_price_arg().validator(is_parsable::<u64>))
2007+
.arg(compute_unit_price_arg().validator(is_parsable::<u64>).global(true))
20082008
.arg(
20092009
Arg::with_name(COMPUTE_UNIT_LIMIT_ARG.name)
20102010
.long(COMPUTE_UNIT_LIMIT_ARG.long)
20112011
.takes_value(true)
20122012
.value_name("COMPUTE-UNIT-LIMIT")
20132013
.help(COMPUTE_UNIT_LIMIT_ARG.help)
20142014
.validator(is_parsable::<u32>)
2015+
.global(true)
20152016
)
20162017
.subcommand(SubCommand::with_name("create-pool")
20172018
.about("Create a new stake pool")

0 commit comments

Comments
 (0)