cormorant: avoid importing wallets when testing connection, only show prune warning once per connection

This commit is contained in:
Craig Raw
2023-02-06 13:25:35 +02:00
parent d84f3bf887
commit 41ba8455a0
4 changed files with 14 additions and 3 deletions
@@ -1106,7 +1106,7 @@ public class ElectrumServer {
throw new CormorantBitcoindException("Legacy wallet configured");
}
if(ElectrumServer.cormorant == null) {
ElectrumServer.cormorant = new Cormorant();
ElectrumServer.cormorant = new Cormorant(subscribe);
ElectrumServer.coreElectrumServer = cormorant.start();
}
} catch(CormorantBitcoindException e) {