CLI: Fix offline signing Pay TX (#7566)

This commit is contained in:
Trent Nelson 2019-12-19 20:58:38 -05:00 committed by GitHub
parent 3c361eb759
commit 0383ffa5ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}
);