This commit is contained in:
jl777
2018-08-02 00:39:38 -11:00
parent c51da953ad
commit b5af694313
3 changed files with 8 additions and 2 deletions

View File

@@ -1606,7 +1606,7 @@ bool GetAddressUnspent(uint160 addressHash, int type,
uint64_t myGettxout(uint256 hash,int32_t n)
{
CCoins coins;
//LOCK2(cs_main,mempool.cs);
LOCK2(cs_main,mempool.cs);
CCoinsViewMemPool view(pcoinsTip, mempool);
if (!view.GetCoins(hash, coins))
return(0);