put binary search on one line
MODIFY
WalletWasabi/EventSourcing/InMemoryEventRepository.cs
WalletWasabi/EventSourcing/InMemoryEventRepository.cs
@@ -135,9 +135,7 @@ namespace WalletWasabi.EventSourcing
if (afterSequenceId > 0)
{
- var foundIndex = result.BinarySearch(
- new WrappedEvent(afterSequenceId),
- WrappedEventSequenceIdComparer);
+ var foundIndex = result.BinarySearch(new WrappedEvent(afterSequenceId), WrappedEventSequenceIdComparer);
if (foundIndex < 0)
{
// Note: this is because of BinarySearch() documented implementation

put binary search on one line