Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

transaction authorization failed in execute A Multisig Transaction #802

Open
adeelnaqvi172 opened this issue Sep 17, 2020 · 0 comments
Open

Comments

@adeelnaqvi172
Copy link

adeelnaqvi172 commented Sep 17, 2020

I am facing this error,i follow all step first i propose a multisig transaction from the account of "adeelabbasna" then i approved the transaction with account of "rajazahoor11", Now i want to execute multsig transaction but they give me authorization failed error. One thing i want to mention i already checked my private key and public key everything is perfect.

Here is my API:

app.post('/execute', async (req,res) => {
   (async () => {
     await api.transact({
      actions: [{
        account: 'eosio.msig',
        name: 'exec',
        authorization: [{
          actor: "rajazahoor11",
          permission: 'active',
        }],
        data: {
          proposer: "adeelabbasna",
          proposal_name: "changowner12",
          executer: "rajazahoor11"
        },
      }]
    }, {
      blocksBehind: 3,
      expireSeconds: 30,
      broadcast: true,
      sign: true
    });
    res.send("execute");
  })();
   });

Error: (i also attached screenshoot)

(node:9236) UnhandledPromiseRejectionWarning: Error: assertion failure with message: transaction authorization failed
at new RpcError (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-rpcerror.js:27:28)
at JsonRpc. (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-jsonrpc.js:121:35)
at step (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-jsonrpc.js:37:23)
at Object.next (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-jsonrpc.js:18:53)
at fulfilled (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-jsonrpc.js:9:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:9236) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:9236) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

new

Here is Screenshot of my Error

wwwe

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant