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 > > {
@@ -73,7 +73,7 @@ pub struct Config<'a> {
7373
7474impl < ' a > Config < ' a > {
7575 pub async fn new (
76- matches : & ArgMatches < ' _ > ,
76+ matches : & ArgMatches ,
7777 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
7878 bulk_signers : & mut Vec < Arc < dyn Signer > > ,
7979 multisigner_ids : & ' a mut Vec < Pubkey > ,
@@ -124,7 +124,7 @@ impl<'a> Config<'a> {
124124 }
125125
126126 fn extract_multisig_signers (
127- matches : & ArgMatches < ' _ > ,
127+ matches : & ArgMatches ,
128128 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
129129 bulk_signers : & mut Vec < Arc < dyn Signer > > ,
130130 multisigner_ids : & ' a mut Vec < Pubkey > ,
@@ -144,7 +144,7 @@ impl<'a> Config<'a> {
144144 }
145145
146146 pub async fn new_with_clients_and_ws_url (
147- matches : & ArgMatches < ' _ > ,
147+ matches : & ArgMatches ,
148148 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
149149 bulk_signers : & mut Vec < Arc < dyn Signer > > ,
150150 multisigner_ids : & ' a mut Vec < Pubkey > ,
@@ -331,7 +331,7 @@ impl<'a> Config<'a> {
331331 // return the associated token address for the default address.
332332 pub ( crate ) async fn associated_token_address_or_override (
333333 & self ,
334- arg_matches : & ArgMatches < ' _ > ,
334+ arg_matches : & ArgMatches ,
335335 override_name : & str ,
336336 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
337337 ) -> Result < Pubkey , Error > {
@@ -350,7 +350,7 @@ impl<'a> Config<'a> {
350350 // return the associated token address for the default address.
351351 pub ( crate ) async fn associated_token_address_for_token_or_override (
352352 & self ,
353- arg_matches : & ArgMatches < ' _ > ,
353+ arg_matches : & ArgMatches ,
354354 override_name : & str ,
355355 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
356356 token : Option < Pubkey > ,
@@ -382,7 +382,7 @@ impl<'a> Config<'a> {
382382 // address if there is one
383383 pub ( crate ) fn pubkey_or_default (
384384 & self ,
385- arg_matches : & ArgMatches < ' _ > ,
385+ arg_matches : & ArgMatches ,
386386 address_name : & str ,
387387 wallet_manager : & mut Option < Rc < RemoteWalletManager > > ,
388388 ) -> Result < Pubkey , Error > {
0 commit comments