publishmulti transaction was not signed properly

+3 votes

when trying to use publishmulti with multichain 2.0 beta:

{"method" : "publishmulti", "params":["myStream1", [{"key":"k1","data":"0123"},{"key":"k1","data":"0123"}]]}

I get:

    "result": null,
    "error": {
        "code": -25,
        "message": "Transaction was not signed properly"
    "id": null

Do I have to sign the tx? I thought you have to do it only for raw tx.

asked Jan 23, 2019 by anonymous
This looks like it could be a bug. Let me ask the team and get back to you.
Hi. I can confirm this. Also run into this problem.

1 Answer

+1 vote
Can you, please, confirm that your wallet has watch-only addresses, i.e. imported using importaddress API?
answered Jan 23, 2019 by Michael
how can I find that out? AFAIK I didn't use importAddresses
Just run listaddresses API and see if there are addresses with "ismine" : false
yes I have addresses with ismine=true and ismine=false
Great! In this case we were able to reproduce this bug and will fix it in the next release.

Meanwhile, you can use publishmultifrom with addresses, having ismine=true
awesome thanks
Hi Michael,

can you say if it will be fixed in next beta and when will this new beta will be released?
It is fixed in 2.0 beta 2 released a week ago.  Sorry for not informing you sooner.