mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-09-14 00:45:08 +00:00
do not import wallet descriptors on a cormorant started to test a server connection
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user