Creates the relay on sending new requests instead of waiting for updatePool method.
This commit is contained in:
+2
-2
@@ -125,7 +125,7 @@ class RelayPool(
|
||||
subId: String,
|
||||
filters: List<Filter>,
|
||||
) {
|
||||
relays.get(relay)?.sendRequest(subId, filters)
|
||||
getOrCreateRelay(relay).sendRequest(subId, filters)
|
||||
}
|
||||
|
||||
fun sendRequest(
|
||||
@@ -145,7 +145,7 @@ class RelayPool(
|
||||
subId: String,
|
||||
filters: List<Filter>,
|
||||
) {
|
||||
relays.get(relay)?.sendCount(subId, filters)
|
||||
getOrCreateRelay(relay).sendCount(subId, filters)
|
||||
}
|
||||
|
||||
fun sendCount(
|
||||
|
||||
Reference in New Issue
Block a user