From af6bbebac42549d15551eb796bc5149d97fb247d Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 12 Dec 2022 11:33:51 +0200 Subject: [PATCH] cormorant: add batching support --- .../java/com/sparrowwallet/sparrow/net/ElectrumServer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java b/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java index b2089a96..44ae8f7e 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java @@ -1007,6 +1007,10 @@ public class ElectrumServer { return true; } + if(server.startsWith("cormorant")) { + return true; + } + if(server.startsWith("electrs/")) { String electrsVersion = server.substring("electrs/".length()); int dashIndex = electrsVersion.indexOf('-');