This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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.
159156pub ( crate ) fn add_compute_unit_limit_from_simulation (
160157 rpc_client : & RpcClient ,
161158 instructions : & mut Vec < Instruction > ,
Original file line number Diff line number Diff 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" )
You can’t perform that action at this time.
0 commit comments