cormorant: add batching support

This commit is contained in:
Craig Raw 2022-12-12 11:33:51 +02:00
parent 6f4fc4f2ca
commit af6bbebac4

View file

@ -1007,6 +1007,10 @@ public class ElectrumServer {
return true; return true;
} }
if(server.startsWith("cormorant")) {
return true;
}
if(server.startsWith("electrs/")) { if(server.startsWith("electrs/")) {
String electrsVersion = server.substring("electrs/".length()); String electrsVersion = server.substring("electrs/".length());
int dashIndex = electrsVersion.indexOf('-'); int dashIndex = electrsVersion.indexOf('-');