From fefebbabb5202330de028abe05344a91cf602018 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 14 Jul 2022 16:07:55 +0200 Subject: [PATCH] remove key derivation method --- .../java/com/sparrowwallet/drongo/wallet/Wallet.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java b/src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java index a034dce..d69755f 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java @@ -740,17 +740,6 @@ public class Wallet extends Persistable implements Comparable { } } - public void derivePublicKeys() { - for(KeyPurpose keyPurpose : KeyPurpose.DEFAULT_PURPOSES) { - WalletNode purposeNode = getNode(keyPurpose); - for(WalletNode addressNode : purposeNode.getChildren()) { - for(Keystore keystore : getKeystores()) { - keystore.getPubKey(addressNode); - } - } - } - } - public boolean isWalletTxo(TransactionInput txInput) { return getWalletTxos().keySet().stream().anyMatch(ref -> ref.getHash().equals(txInput.getOutpoint().getHash()) && ref.getIndex() == txInput.getOutpoint().getIndex()); }