vcash
vcash copied to clipboard
[RPC] gettransaction on blended tx inputs returns an invalid response
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.
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
.