mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 03:21:23 +00:00
WalletAppKit: Remove unnecessary call to KeyChainGroup.Builder.build().
This commit is contained in:
committed by
Andreas Schildbach
parent
0f5ac332ec
commit
e68cc4488d
@@ -450,7 +450,7 @@ public class WalletAppKit extends AbstractIdleService {
|
||||
protected Wallet createWallet() {
|
||||
KeyChainGroup.Builder kcg = KeyChainGroup.builder(params, structure);
|
||||
if (restoreFromSeed != null)
|
||||
kcg.fromSeed(restoreFromSeed, preferredOutputScriptType).build();
|
||||
kcg.fromSeed(restoreFromSeed, preferredOutputScriptType);
|
||||
else if (restoreFromKey != null)
|
||||
kcg.addChain(DeterministicKeyChain.builder().spend(restoreFromKey).outputScriptType(preferredOutputScriptType).build());
|
||||
else
|
||||
|
Reference in New Issue
Block a user