Closed co1ingue closed 6 years ago
Try two permission levels (the first is for the smart contract, the last one is for eosjs). Eosjs tries the first account name as the permission level but in this case it is not correct, bob is not the permission you need so just override it.
const confirm2 = await msig.approve('bob','jack2.' + randomName,{actor: 'alice', permission: 'active'}, {actor: 'alice', permission: 'active'})
@jcalfee Thanks very much ,you solved my problem.
const confirm2 = await msig.approve('bob','jack2.' + randomName,{actor: 'alice', permission: 'active'}, {authorization: 'alice@active'})
I fellow the example creating a multiSig account
then I want to transfer some EOS to bob
but I got this when Alice confirm the propose
Do alice need bob's key to confirm , or there is some kind of cacahe in the Contract ? I find that command line works
cleos multisig approve bob jack2.42 '{"actor":"alice","permission":"active"}' -p alice@active
Please help me..