Skip to content

Commit

Permalink
Merge pull request #4653 from oscarguindzberg/removeGetAllAddressesFr…
Browse files Browse the repository at this point in the history
…omActiveKeys

Remove unused getAllAddressesFromActiveKeys()
  • Loading branch information
ripcurlx authored Oct 16, 2020
2 parents c83cc04 + 21f5cd8 commit 20a62e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java
Original file line number Diff line number Diff line change
Expand Up @@ -770,12 +770,6 @@ public Transaction getPreparedUnlockTx(TxOutput lockupTxOutput) throws AddressFo
// Addresses
///////////////////////////////////////////////////////////////////////////////////////////

protected Set<Address> getAllAddressesFromActiveKeys() {
return wallet.getActiveKeyChain().getLeafKeys().stream().
map(key -> LegacyAddress.fromScriptHash(params, key.getPubKeyHash())).
collect(Collectors.toSet());
}

private Address getChangeAddress() {
return getUnusedAddress();
}
Expand Down

0 comments on commit 20a62e0

Please sign in to comment.