mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-02 12:26:45 +00:00
ensure whirlpool wallets use nfkd encoding for passphrases
This commit is contained in:
parent
1c3c2d8089
commit
2e1ee0c5b2
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@ import java.util.concurrent.TimeoutException;
|
|||
import java.util.stream.Collectors;
|
||||
|
||||
import static com.sparrowwallet.sparrow.AppServices.getTorProxy;
|
||||
import static org.bitcoinj.crypto.MnemonicCode.SPARROW_FIX_NFKD_MNEMONIC;
|
||||
|
||||
public class WhirlpoolServices {
|
||||
private static final Logger log = LoggerFactory.getLogger(WhirlpoolServices.class);
|
||||
|
@ -46,6 +47,7 @@ public class WhirlpoolServices {
|
|||
public WhirlpoolServices() {
|
||||
ExtLibJConfig extLibJConfig = computeExtLibJConfig();
|
||||
this.sorobanConfig = new SorobanConfig(extLibJConfig);
|
||||
System.setProperty(SPARROW_FIX_NFKD_MNEMONIC, "true");
|
||||
}
|
||||
|
||||
private ExtLibJConfig computeExtLibJConfig() {
|
||||
|
|
Loading…
Reference in a new issue