Skip to content

Commit

Permalink
Fix release compilation (#3417)
Browse files Browse the repository at this point in the history
* Fix release

* typo
  • Loading branch information
shargon committed Jul 12, 2024
1 parent 3351533 commit 06e087f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Neo/Ledger/MemoryPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -679,6 +678,5 @@ internal void Clear()
_txRwLock.ExitReadLock();
}
}
#endif
}
}

0 comments on commit 06e087f

Please sign in to comment.