From d9c21d58c7e823991f10d25e0ff95e5ca181c962 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Fri, 26 Apr 2013 16:41:33 +0200 Subject: [PATCH] Make wallet.getChangeAddress() visible. --- core/src/main/java/com/google/bitcoin/core/Wallet.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/bitcoin/core/Wallet.java b/core/src/main/java/com/google/bitcoin/core/Wallet.java index a8680e69..529cbb47 100644 --- a/core/src/main/java/com/google/bitcoin/core/Wallet.java +++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java @@ -2042,7 +2042,8 @@ public class Wallet implements Serializable, BlockChainListener { return candidates; } - Address getChangeAddress() { + /** Returns the address used for change outputs. Note: this will probably go away in future. */ + public Address getChangeAddress() { lock.lock(); try { // For now let's just pick the first key in our keychain. In future we might want to do something else to