Commit e1b23be8 authored by Fabien's avatar Fabien Committed by GitHub

Merge pull request #156 from steemit/recover-account-revert

Revert changes on `recover_account` serializer
parents 91d0f22b 8b4cb7bf
......@@ -742,7 +742,7 @@ steem.broadcast.proveAuthority(wif, challenged, requireOwner, function(err, resu
```
### Recover Account
```
steem.broadcast.recoverAccount(wif, accountToRecover, recentAuthority, newAuthority, function(err, result) {
steem.broadcast.recoverAccount(wif, accountToRecover, newOwnerAuthority, recentOwnerAuthority, extensions, function(err, result) {
console.log(err, result);
});
```
......
{
"name": "steem",
"version": "0.5.12",
"version": "0.5.13",
"description": "Steem.js the JavaScript API for Steem blockchain",
"main": "index.js",
"scripts": {
......
......@@ -404,8 +404,9 @@ let request_account_recovery = new Serializer(
let recover_account = new Serializer(
"recover_account", {
account_to_recover: string,
new_authority: authority,
recent_authority: authority,
new_owner_authority: authority,
recent_owner_authority: authority,
extensions: set(future_extensions)
}
);
......
......@@ -252,8 +252,9 @@
"operation": "recover_account",
"params": [
"account_to_recover",
"recent_authority",
"new_authority"
"new_owner_authority",
"recent_owner_authority",
"extensions"
]
},
{
......
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