2828
2929type SignersOf = Vec < ( Arc < dyn Signer > , Pubkey ) > ;
3030fn signers_of (
31- matches : & ArgMatches < ' _ > ,
31+ matches : & ArgMatches ,
3232 name : & str ,
3333 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
3434) -> Result < Option < SignersOf > , Box < dyn std:: error:: Error > > {
@@ -71,7 +71,7 @@ pub struct Config<'a> {
7171
7272impl < ' a > Config < ' a > {
7373 pub async fn new (
74- matches : & ArgMatches < ' _ > ,
74+ matches : & ArgMatches ,
7575 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
7676 bulk_signers : & mut Vec < Arc < dyn Signer > > ,
7777 multisigner_ids : & ' a mut Vec < Pubkey > ,
@@ -122,7 +122,7 @@ impl<'a> Config<'a> {
122122 }
123123
124124 fn extract_multisig_signers (
125- matches : & ArgMatches < ' _ > ,
125+ matches : & ArgMatches ,
126126 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
127127 bulk_signers : & mut Vec < Arc < dyn Signer > > ,
128128 multisigner_ids : & ' a mut Vec < Pubkey > ,
@@ -142,7 +142,7 @@ impl<'a> Config<'a> {
142142 }
143143
144144 pub async fn new_with_clients_and_ws_url (
145- matches : & ArgMatches < ' _ > ,
145+ matches : & ArgMatches ,
146146 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
147147 bulk_signers : & mut Vec < Arc < dyn Signer > > ,
148148 multisigner_ids : & ' a mut Vec < Pubkey > ,
@@ -325,7 +325,7 @@ impl<'a> Config<'a> {
325325 // return the associated token address for the default address.
326326 pub ( crate ) async fn associated_token_address_or_override (
327327 & self ,
328- arg_matches : & ArgMatches < ' _ > ,
328+ arg_matches : & ArgMatches ,
329329 override_name : & str ,
330330 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
331331 ) -> Result < Pubkey , Error > {
@@ -344,7 +344,7 @@ impl<'a> Config<'a> {
344344 // return the associated token address for the default address.
345345 pub ( crate ) async fn associated_token_address_for_token_or_override (
346346 & self ,
347- arg_matches : & ArgMatches < ' _ > ,
347+ arg_matches : & ArgMatches ,
348348 override_name : & str ,
349349 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
350350 token : Option < Pubkey > ,
@@ -376,7 +376,7 @@ impl<'a> Config<'a> {
376376 // address if there is one
377377 pub ( crate ) fn pubkey_or_default (
378378 & self ,
379- arg_matches : & ArgMatches < ' _ > ,
379+ arg_matches : & ArgMatches ,
380380 address_name : & str ,
381381 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
382382 ) -> Result < Pubkey , Error > {
0 commit comments