|
|
@ -117,7 +117,7 @@ public class PirateWallet { |
|
|
|
// Restore existing wallet
|
|
|
|
// Restore existing wallet
|
|
|
|
String response = LiteWalletJni.initfromb64(serverUri, params, wallet, saplingOutput64, saplingSpend64); |
|
|
|
String response = LiteWalletJni.initfromb64(serverUri, params, wallet, saplingOutput64, saplingSpend64); |
|
|
|
if (response != null && !response.contains("\"initalized\":true")) { |
|
|
|
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; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
this.seedPhrase = inputSeedPhrase; |
|
|
|
this.seedPhrase = inputSeedPhrase; |
|
|
|