3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 23:32:16 +00:00

Make wallet.getChangeAddress() visible.

This commit is contained in:
Mike Hearn 2013-04-26 16:41:33 +02:00
parent ab7e8685b5
commit d9c21d58c7

View File

@ -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