From 63605f0e4ebba711768d1d69a99c8b6bd4eda32a Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Aug 2018 00:06:50 -1100 Subject: [PATCH] Test --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d604b4eec..7634226f4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1606,8 +1606,7 @@ bool GetAddressUnspent(uint160 addressHash, int type, uint64_t myGettxout(uint256 hash,int32_t n) { CCoins coins; - LOCK(cs_main); - LOCK(mempool.cs); + LOCK2(cs_main,mempool.cs); CCoinsViewMemPool view(pcoinsTip, mempool); if (!view.GetCoins(hash, coins)) return(0);