Invalid Raw Transaction causes node to crash

+2 votes
Guys, we stumbled across this today......
We did a PoC to demo some asset management features using multichain and accidentally sent this transaction to a node:

{
  "method": "createrawtransaction",
  "params": [
    [
      {
        "txid": "92d004917ffc47a1762e24e42a01c3b29dc5b81020d9d3176e31eec4c4f69fdc",
        "vout": 1,
        "script": "76a914a9eb9007674cdc615bb559f41b8a28d06a1a542d88ac1c73706b71cdee50c23089b92b2d5f9f50474fbe5a200300000000000075",
        "address": "1GVTPbc3sLdQcNtNZhTpNcC2Tefn2QoYp9",
        "pubkeys": [
          "037333dc34152daf541506c4e54271988ce7aa362146e0ea4d28abffae7d1fd4ba"
        ]
      }
    ],
    {
      "": {
        "ART": 5
      },
      "1GVTPbc3sLdQcNtNZhTpNcC2Tefn2QoYp9": {
        "ART": 795
      }
    },
    []
  ],
  "id": 1,
  "chain_name": "poc-chain"
}

 

Notice the missing address in the first output.  This causes the node to crash.....it's unresponsive at this point and needs to be restarted.

 

We are using multichain 1.0.2 on ubuntu.

Cheers

 

Marty
asked Apr 23, 2018 by marty

1 Answer

+1 vote
Thanks for catching this, we'll verify and fix it in the next maintenance release.
answered Apr 24, 2018 by MultiChain
...