This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
[docs] Error in an example #9036
Labels
documentation
Requires attention from documentation team. e.g. documentation is expected to be generated.
staging
doc-related issue has been resolved in merged PR. moved to staging phase for production testing.
The first example:
cleos set account permission test active '{"threshold" : 1, "keys" : [{"permission":{"key":"EOS8X7Mp7apQWtL6T2sfSZzBcQNUqZB7tARFEm9gA9Tn9nbMdsvBB","permission":"active"},"weight":1}], "accounts" : [{"permission":{"account":"acc2","permission":"active"},"weight":50}]}' owner
is wrong, because it associates "active" to the key EOS8X7... which is meaningless. And the command does not work. I think the correct line is:
'{"threshold" : 1, "keys" : [{"key":"EOS8X7Mp7apQWtL6T2sfSZzBcQNUqZB7tARFEm9gA9Tn9nbMdsvBB","weight":1}], "accounts" : [{"permission":{"account":"acc2","permission":"active"},"weight":50}] }' owner
File: [docs/02_cleos/03_command-reference/set/set-account.md](https://github.com/EOSIO/eos/blob/develop/docs/02_cleos/03_command-reference/set/set-account.md)The text was updated successfully, but these errors were encountered: