vcash icon indicating copy to clipboard operation
vcash copied to clipboard

[RPC] gettransaction on blended tx inputs returns an invalid response

Open whphhg opened this issue 7 years ago • 1 comments

Using gettransaction on blended tx inputs returns an invalid response, where vin and vout are undefined and make the JSON parser fail.

{
  "result": {
    "txid": "eb041029a918d044f1eeecb819073e42fae8721394ede0991dd23ae94eab7337",
    "version": 1,
    "time": 1490103150,
    "locktime": 0,
    "vin":,
    "vout":,
    "amount": 0,
    "confirmations": -1,
    "txid": "eb041029a918d044f1eeecb819073e42fae8721394ede0991dd23ae94eab7337",
    "time": 1490103150,
    "timereceived": 0
  },
  "id": "59"
}

This happens on newly blended txs before the daemon gets restarted, after restart there's no issue. I've had it happen at the same time on Arch and Ubuntu when the wallets blended between themselves and started getting invalid response from a couple of inputs until I restarted both daemons.

whphhg avatar Mar 21 '17 14:03 whphhg

I don't seem to be getting the issue above anymore, however now the blended transactions are missing the blended property when returned by listsinceblock or gettransaction.

whphhg avatar May 30 '17 09:05 whphhg