mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Create a P2WPKH keychain for new btc wallets
This commit is contained in:
parent
2d06946c18
commit
f13a7b164c
1 changed files with 1 additions and 3 deletions
|
@ -359,9 +359,7 @@ public class WalletConfig extends AbstractIdleService {
|
|||
}
|
||||
|
||||
protected Wallet createWallet(boolean isBsqWallet) {
|
||||
// Change preferredOutputScriptType of btc wallet to P2WPKH to start using segwit
|
||||
// Script.ScriptType preferredOutputScriptType = isBsqWallet ? Script.ScriptType.P2PKH : Script.ScriptType.P2WPKH;
|
||||
Script.ScriptType preferredOutputScriptType = Script.ScriptType.P2PKH;
|
||||
Script.ScriptType preferredOutputScriptType = isBsqWallet ? Script.ScriptType.P2PKH : Script.ScriptType.P2WPKH;
|
||||
KeyChainGroupStructure structure = new BisqKeyChainGroupStructure(isBsqWallet);
|
||||
KeyChainGroup.Builder kcgBuilder = KeyChainGroup.builder(params, structure);
|
||||
if (restoreFromSeed != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue