do not import wallet descriptors on a cormorant started to test a server connection

This commit is contained in:
Craig Raw
2026-09-10 09:24:45 +02:00
parent 75cd6ceba2
commit b59f355bfd
@@ -68,6 +68,11 @@ public class Cormorant {
}
public boolean checkWalletImport(Wallet wallet) {
if(!useWallets) {
log.warn("Attempting to check if " + wallet.getMasterName() + " is imported, but Cormorant was started to test a server connection");
return false;
}
if(bitcoindClient == null) {
log.warn("Attempting to check if " + wallet.getMasterName() + " is imported, but Cormorant is not started");
return false;