mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Put back the KeyChainGroup log message and remove an apparently useless wallet creation on the load path in WalletAppKit that was triggering it.
This commit is contained in:
parent
b81b0f78d5
commit
1542a88b5f
@ -356,7 +356,6 @@ public class WalletAppKit extends AbstractIdleService {
|
||||
FileInputStream walletStream = new FileInputStream(vWalletFile);
|
||||
try {
|
||||
List<WalletExtension> extensions = provideWalletExtensions();
|
||||
wallet = new Wallet(params);
|
||||
WalletExtension[] extArray = extensions.toArray(new WalletExtension[extensions.size()]);
|
||||
Protos.Wallet proto = WalletProtobufSerializer.parseToProto(walletStream);
|
||||
final WalletProtobufSerializer serializer;
|
||||
|
@ -152,6 +152,7 @@ public class KeyChainGroup implements KeyBag {
|
||||
* Useful for adding a complex pre-configured keychain, such as a married wallet.
|
||||
*/
|
||||
public void addAndActivateHDChain(DeterministicKeyChain chain) {
|
||||
log.info("Creating and activating a new HD chain: {}", chain);
|
||||
for (ListenerRegistration<KeyChainEventListener> registration : basic.getListeners())
|
||||
chain.addEventListener(registration.listener, registration.executor);
|
||||
if (lookaheadSize >= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user