Commit 3e8c200a authored by Fabien's avatar Fabien Committed by GitHub

Merge pull request #148 from steemit/recover-account

Add recover account operation
parents 1604d1e8 75883795
......@@ -738,7 +738,7 @@ steem.broadcast.proveAuthority(wif, challenged, requireOwner, function(err, resu
```
### Recover Account
```
steem.broadcast.recoverAccount(wif, accountToRecover, newOwnerAuthority, recentOwnerAuthority, extensions, function(err, result) {
steem.broadcast.recoverAccount(wif, accountToRecover, recentAuthority, newAuthority, function(err, result) {
console.log(err, result);
});
```
......
......@@ -247,6 +247,15 @@
"extensions"
]
},
{
"roles": ["owner"],
"operation": "recover_account",
"params": [
"account_to_recover",
"recent_authority",
"new_authority"
]
},
{
"roles": ["owner"],
"operation": "change_recovery_account",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment