You are viewing a single comment's thread from:

RE: How to set up and use multisignature accounts on the Hive Blockchain.

in #utopian-io4 years ago (edited)

Hey, great post.

I tried to set up multisig account (https://hiveblocks.com/tx/180a74d1454d3ceb9388b6d484737ddb9660b20f) and I have set weight_threshold to 100 and 2 active auths (each 50). But when I try to send a signed transaction, I get a Missing Active Authority error.

Update: It seems error was with dHive, transaction was succesful with Hive-js.

Sort:  

Glad it helped ! What was the error with dhive ?

It was due to missing chainId in config.

Once I changed

const client = new dhive.Client(process.env.HIVE_NODES.split(','))

to

const client = new dhive.Client(process.env.HIVE_NODES.split(','), {
  chainId: '0000000000000000000000000000000000000000000000000000000000000000',
})

it worked!

I'm not sure but using Hive-js multisig with both key at the same time worked without a problem while signing transaction separately (with both dHive and Hive-js) failed with Missing Active Authority.

Even when threshold is 2 and there are 3 signatures (each with 1 weight), it will still fail.