Eos: add 3 accounts to permission and fail

Created on 30 Jun 2018  路  5Comments  路  Source: EOSIO/eos

Hi, i'm trying to create an multisig account, when i add 2 accounts to the json, it works fine,

cleos set account permission escrow active '{"threshold":2,"keys":[],"accounts":[{"permission":{"actor":"bob","permission":"active"},"weight":1},{"permission":{"actor":"joe","permission":"active"},"weight":1}],"waits":[]}' owner -p escrow@owner

but fails when the third added:
cleos set account permission escrow active '{"threshold":2,"keys":[],"accounts":[{"permission":{"actor":"bob","permission":"active"},"weight":1},{"permission":{"actor":"joe","permission":"active"},"weight":1},{"permission":{"actor":"dave","permission":"active"},"weight":1}],"waits":[]}' owner -p escrow@owner

Error Details:
Authority failed validation! ensure that keys, accounts, and waits are sorted and that the threshold is valid and satisfiable!

Most helpful comment

You need to sort the three actors alphabetically.
try > bob, dave, joe
and it will work

All 5 comments

You need to sort the three actors alphabetically.
try > bob, dave, joe
and it will work

@davidfrothin It did work!
Thanks!

You need to sort the three actors alphabetically.
try > bob, dave, joe
and it will work

thanks for your help,this issue makes me crazy!

Thanks for post this soluccion !!!

This is a bug?
@larryk85 @johndebord

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jcalfee picture jcalfee  路  3Comments

congnghebitcoin picture congnghebitcoin  路  3Comments

hoopslb picture hoopslb  路  3Comments

christola picture christola  路  3Comments

sim31 picture sim31  路  3Comments