Hi! When I try to call "createrawtransaction" via json-rpc, I'm getting the error "Invalid parameter, missing vout key".
In my opinion there's a bug in rpcrawtransaction.cpp on line 253:
https://github.com/neutroncoin/neutron/blob/a1640b0e9e7c34176762f7c8b9dbf5465bba4528/src/rpcrawtransaction.cpp#L253The line checks if vout_v is null and negates it. So, if I pass valid vout indices to "createrawtransaction", they are valid so that "isNull()" returns false.
But because of the negation it returns with the error that my valid vout's are invalid. I think the line should look like:
if (!vout_v.isNum())
Anyone can confirm that this is a bug?