Hello everyone,
We are using MultiChain for data storage and retrieval only, not for asset management. I managed to set up several nodes (with different datadir) on the same laptop, and could read/publish on streams without any problem. Today I tried to set up from scratch a new node on a separate laptop, and connect it to the man chain. The connection between both nodes works fine. I subscribed from the new node to the original node to a stream and granted write access. All fine.
But when I tried to publish something on the stream, I got this error.
message sent:
{
"jsonrpc": "2.0",
"method": "publish",
"params": ["stream-ref-redacted", "key1", "lots of nice hexadecimal data redacted"],
"id": 12345
}
server's response:
{
"result": null,
"error": {
"code": -4,
"message": "Insufficient funds, but there are coins belonging to addresses without send permission or P2SH addresses."
},
"id": 12345
}
I was suprised by the error message, as I don't manipulate funds. I checked that all the write access were ok, they are. I also used the getaddressbalances function & had an empty array in return.
Any idea?
[edit] : solved by MultiChain user, I needed to grant both send & receive to the associated address to be able to publish ; was new in alpha25 release.