diff --git a/core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java b/core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java index 32572b3de5e..ef9902e065f 100644 --- a/core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java +++ b/core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java @@ -636,7 +636,7 @@ public Transaction getPreparedUnlockTx(TxOutput lockupTxOutput) throws AddressFo /////////////////////////////////////////////////////////////////////////////////////////// protected Set
getAllAddressesFromActiveKeys() { - return wallet.getActiveKeychain().getLeafKeys().stream(). + return wallet.getActiveKeyChain().getLeafKeys().stream(). map(key -> Address.fromP2SHHash(params, key.getPubKeyHash())). collect(Collectors.toSet()); } diff --git a/core/src/main/java/bisq/core/btc/wallet/WalletService.java b/core/src/main/java/bisq/core/btc/wallet/WalletService.java index 97a6d85bcf0..43b77805ad3 100644 --- a/core/src/main/java/bisq/core/btc/wallet/WalletService.java +++ b/core/src/main/java/bisq/core/btc/wallet/WalletService.java @@ -575,12 +575,12 @@ public DeterministicKey freshKey(KeyChain.KeyPurpose purpose) { @Nullable public DeterministicKey findKeyFromPubKeyHash(byte[] pubKeyHash) { - return wallet.getActiveKeychain().findKeyFromPubHash(pubKeyHash); + return wallet.getActiveKeyChain().findKeyFromPubHash(pubKeyHash); } @Nullable public DeterministicKey findKeyFromPubKey(byte[] pubKey) { - return wallet.getActiveKeychain().findKeyFromPubKey(pubKey); + return wallet.getActiveKeyChain().findKeyFromPubKey(pubKey); } public Address freshReceiveAddress() {