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); }