From d44c783fccfbbc55f0a85347924a6ca8247b85f2 Mon Sep 17 00:00:00 2001 From: Jianping Wu Date: Fri, 8 Mar 2019 14:23:53 -0800 Subject: [PATCH] WIP: Fixed KevaUnchecked locking issue. --- src/txmempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/txmempool.h b/src/txmempool.h index 47414798e..1ba6bea17 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -700,7 +700,7 @@ public: inline void addKevaUnchecked(const uint256& hash, const CKevaScript& kevaOp) { - AssertLockHeld(cs); + LOCK(cs); kevaMemPool.addUnchecked(hash, kevaOp); }