pass Pubkeys as refs, copy only where values needed (#3213)
* pass Pubkeys as refs, copy only where values needed * Pubkey is pervasive * fixup
This commit is contained in:
@@ -61,7 +61,7 @@ pub fn parse_args(matches: &ArgMatches<'_>) -> Result<WalletConfig, Box<dyn erro
|
||||
)))
|
||||
})?;
|
||||
|
||||
let command = parse_command(id.pubkey(), &matches)?;
|
||||
let command = parse_command(&id.pubkey(), &matches)?;
|
||||
|
||||
Ok(WalletConfig {
|
||||
id,
|
||||
|
Reference in New Issue
Block a user