From 06e087fb80bbfeaa494e9ddd2efe2b2bd75ade0b Mon Sep 17 00:00:00 2001 From: Shargon Date: Fri, 12 Jul 2024 08:09:39 +0200 Subject: [PATCH] Fix release compilation (#3417) * Fix release * typo --- src/Neo/Ledger/MemoryPool.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Neo/Ledger/MemoryPool.cs b/src/Neo/Ledger/MemoryPool.cs index 2e1adb1a47..ff9c6b1069 100644 --- a/src/Neo/Ledger/MemoryPool.cs +++ b/src/Neo/Ledger/MemoryPool.cs @@ -660,9 +660,8 @@ internal bool ReVerifyTopUnverifiedTransactionsIfNeeded(int maxToVerify, DataCac return _unverifiedTransactions.Count > 0; } -#if DEBUG // This method is only for test purpose - // Do not remove it from the DEBUG build + // Do not use this method outside of unit tests internal void Clear() { _txRwLock.EnterReadLock(); @@ -679,6 +678,5 @@ internal void Clear() _txRwLock.ExitReadLock(); } } -#endif } }