mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-10 21:09:40 +02:00
Fixes array too big because strfry blocks more than 20 filters
This commit is contained in:
parent
67fb3bf488
commit
26ba75c7c9
@ -393,17 +393,16 @@ class Relay(
|
||||
}
|
||||
|
||||
if (relayFilters.isNotEmpty()) {
|
||||
val request =
|
||||
writeToSocket(
|
||||
relayFilters.joinToStringLimited(
|
||||
separator = ",",
|
||||
limit = 20,
|
||||
limit = 19,
|
||||
prefix = """["REQ","$requestId",""",
|
||||
postfix = "]",
|
||||
) {
|
||||
it.filter.toJson(url)
|
||||
}
|
||||
|
||||
writeToSocket(request)
|
||||
},
|
||||
)
|
||||
|
||||
afterEOSEPerSubscription[requestId] = false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user