chore: formatting

This commit is contained in:
2024-01-23 15:36:48 +00:00
parent 5cea096067
commit 982f4df0a3
5 changed files with 28 additions and 12 deletions

View File

@ -66,7 +66,11 @@ export function splitAllByWriteRelays(cache: AuthorsRelaysCache, filters: Array<
/**
* Split filters by authors
*/
export function splitByWriteRelays(cache: AuthorsRelaysCache, filter: ReqFilter, pickN?: number): Array<RelayTaggedFilter> {
export function splitByWriteRelays(
cache: AuthorsRelaysCache,
filter: ReqFilter,
pickN?: number,
): Array<RelayTaggedFilter> {
const authors = filter.authors;
if ((authors?.length ?? 0) === 0) {
return [