Browse Source

Log Pirate light client server address if the wallet unable to be initialized.

at-states-fix
CalDescent 2 years ago
parent
commit
758a02d71a
  1. 2
      src/main/java/org/qortal/crosschain/PirateWallet.java

2
src/main/java/org/qortal/crosschain/PirateWallet.java

@ -117,7 +117,7 @@ public class PirateWallet {
// Restore existing wallet
String response = LiteWalletJni.initfromb64(serverUri, params, wallet, saplingOutput64, saplingSpend64);
if (response != null && !response.contains("\"initalized\":true")) {
LOGGER.info("Unable to initialize Pirate Chain wallet: {}", response);
LOGGER.info("Unable to initialize Pirate Chain wallet at {}: {}", serverUri, response);
return false;
}
this.seedPhrase = inputSeedPhrase;

Loading…
Cancel
Save