mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 19:55:51 +00:00
WalletAppKit: Remove unnecessary call to KeyChainGroup.Builder.build().
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user