Disable work generation by default for mass creation of accounts (#763)
This commit is contained in:
parent
147dd459bc
commit
a219f05b14
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ void rai::rpc_handler::accounts_create ()
|
|||
auto existing (node.wallets.items.find (wallet));
|
||||
if (existing != node.wallets.items.end ())
|
||||
{
|
||||
const bool generate_work = request.get<bool> ("work", true);
|
||||
const bool generate_work = request.get<bool> ("work", false);
|
||||
boost::property_tree::ptree response_l;
|
||||
boost::property_tree::ptree accounts;
|
||||
for (auto i (0); accounts.size () < count; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue