Skip to content

Commit

Permalink
Wallet: Add getActiveKeychain() method - To be reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredKarrer authored and oscarguindzberg committed Dec 20, 2018
1 parent 09ae4b1 commit bcafe50
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/src/main/java/org/bitcoinj/wallet/Wallet.java
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,13 @@ public DeterministicKeyChain getActiveKeyChain() {
return keyChainGroup.getActiveKeyChain();
}

/**
* Gets the active keychain via {@link KeyChainGroup#getActiveKeyChain()}
*/
public DeterministicKeyChain getActiveKeychain() {
return keyChainGroup.getActiveKeyChain();
}

/**
* <p>Adds given transaction signer to the list of signers. It will be added to the end of the signers list, so if
* this wallet already has some signers added, given signer will be executed after all of them.</p>
Expand Down

0 comments on commit bcafe50

Please sign in to comment.