Skip to content

Commit 06e087f

Browse files
authored
Fix release compilation (#3417)
* Fix release * typo
1 parent 3351533 commit 06e087f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Neo/Ledger/MemoryPool.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -660,9 +660,8 @@ internal bool ReVerifyTopUnverifiedTransactionsIfNeeded(int maxToVerify, DataCac
660660
return _unverifiedTransactions.Count > 0;
661661
}
662662

663-
#if DEBUG
664663
// This method is only for test purpose
665-
// Do not remove it from the DEBUG build
664+
// Do not use this method outside of unit tests
666665
internal void Clear()
667666
{
668667
_txRwLock.EnterReadLock();
@@ -679,6 +678,5 @@ internal void Clear()
679678
_txRwLock.ExitReadLock();
680679
}
681680
}
682-
#endif
683681
}
684682
}

0 commit comments

Comments
 (0)