simplewallet: typo in generate-from-multisig-keys

This commit is contained in:
stoffu 2018-02-19 09:51:30 +09:00
parent 4f80c50730
commit fd57e13a84
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012

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())