This commit is contained in:
Jonathan "Duke" Leto
2019-01-05 17:02:20 -08:00
parent dda20b2760
commit 5070f4397a

View File

@@ -3002,7 +3002,6 @@ UniValue z_listunspent(const UniValue& params, bool fHelp)
UniValue obj(UniValue::VOBJ);
obj.push_back(Pair("txid", entry.op.hash.ToString()));
obj.push_back(Pair("outindex", (int)entry.op.n));
// this is a txid hash but needs to be block hash
int nHeight = 0;
CTransaction tx;
uint256 hashBlock;