eos icon indicating copy to clipboard operation
eos copied to clipboard

add 3 accounts to permission and fail

Open NeverLandFly opened this issue 8 years ago • 5 comments

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!

NeverLandFly avatar Jun 30 '18 06:06 NeverLandFly

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

davidfrothin avatar Jun 30 '18 07:06 davidfrothin

@davidfrothin It did work! Thanks!

NeverLandFly avatar Jun 30 '18 09:06 NeverLandFly

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!

dawnFromDark avatar Mar 05 '19 07:03 dawnFromDark

Thanks for post this soluccion !!!

kriskoin avatar Apr 05 '19 08:04 kriskoin

This is a bug? @larryk85 @johndebord

cppfuns avatar Sep 27 '20 04:09 cppfuns