Merge pull request #3294

fd57e13a simplewallet: typo in generate-from-multisig-keys (stoffu)
This commit is contained in:
Riccardo Spagni 2018-02-20 17:49:05 +02:00
commit 46903ec26a
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -2407,7 +2407,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
// get N secret spend keys from user // get N secret spend keys from user
for(unsigned int i=0; i<multisig_n; ++i) for(unsigned int i=0; i<multisig_n; ++i)
{ {
spendkey_string = input_line(tr((boost::format(tr("Secret spend key (%u of %u):")) % (i+i) % multisig_m).str().c_str())); spendkey_string = input_line(tr((boost::format(tr("Secret spend key (%u of %u):")) % (i+1) % multisig_m).str().c_str()));
if (std::cin.eof()) if (std::cin.eof())
return false; return false;
if (spendkey_string.empty()) if (spendkey_string.empty())