Skip to content
This repository has been archived by the owner on Oct 12, 2020. It is now read-only.

Commit

Permalink
RPC wallet_change_seed functionality should match CLI (nanocurrency#925)
Browse files Browse the repository at this point in the history
Backports nanocurrency#637.
  • Loading branch information
devinus committed Jun 28, 2018
1 parent 45365a4 commit 8690fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rai/node/rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3631,7 +3631,7 @@ void rai::rpc_handler::wallet_change_seed ()
rai::transaction transaction (node.store.environment, nullptr, true);
if (existing->second->store.valid_password (transaction))
{
existing->second->store.seed_set (transaction, seed);
existing->second->change_seed (transaction, seed);
boost::property_tree::ptree response_l;
response_l.put ("success", "");
response (response_l);
Expand Down

0 comments on commit 8690fbb

Please sign in to comment.