Add importprunedfunds rpc call

This commit is contained in:
instagibbs
2016-02-18 16:31:12 -08:00
committed by lateminer
parent db3b5d964a
commit c37ac7db87
9 changed files with 224 additions and 24 deletions

View File

@@ -412,7 +412,8 @@ UniValue verifytxoutproof(const UniValue& params, bool fHelp)
UniValue res(UniValue::VARR);
vector<uint256> vMatch;
if (merkleBlock.txn.ExtractMatches(vMatch) != merkleBlock.header.hashMerkleRoot)
vector<unsigned int> vIndex;
if (merkleBlock.txn.ExtractMatches(vMatch, vIndex) != merkleBlock.header.hashMerkleRoot)
return res;
LOCK(cs_main);