From a219f05b14500c461c15deef9a437844ec33a2ea Mon Sep 17 00:00:00 2001 From: SergiySW Date: Fri, 30 Mar 2018 17:26:58 +0300 Subject: [PATCH] Disable work generation by default for mass creation of accounts (#763) --- rai/node/rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rai/node/rpc.cpp b/rai/node/rpc.cpp index d859e964..929dceaa 100644 --- a/rai/node/rpc.cpp +++ b/rai/node/rpc.cpp @@ -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 ("work", true); + const bool generate_work = request.get ("work", false); boost::property_tree::ptree response_l; boost::property_tree::ptree accounts; for (auto i (0); accounts.size () < count; ++i)