mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 22:58:32 +01:00
Auto-upgrade to HD when fetching a change address.
This commit is contained in:
parent
a6ea2fa3ba
commit
48d748d2be
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
|
|||
|
||||
/** Returns the address used for change outputs. Note: this will probably go away in future. */
|
||||
public Address getChangeAddress() {
|
||||
return keychain.currentAddress(KeyChain.KeyPurpose.CHANGE);
|
||||
return currentAddress(KeyChain.KeyPurpose.CHANGE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue