CLI: Fix offline signing Pay TX (#7566)
This commit is contained in:
parent
3c361eb759
commit
0383ffa5ab
|
@ -510,7 +510,7 @@ pub fn parse_command(matches: &ArgMatches<'_>) -> Result<CliCommandInfo, Box<dyn
|
|||
signers,
|
||||
blockhash,
|
||||
},
|
||||
require_keypair: !sign_only,
|
||||
require_keypair: true,
|
||||
})
|
||||
}
|
||||
("show-account", Some(matches)) => {
|
||||
|
@ -2230,7 +2230,7 @@ mod tests {
|
|||
signers: None,
|
||||
blockhash: None,
|
||||
},
|
||||
require_keypair: false
|
||||
require_keypair: true,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue