Skip to content

Commit

Permalink
Add getActiveKeychain method to wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredKarrer committed Apr 21, 2017
1 parent b9d840c commit dc5fc14
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 dc5fc14

Please sign in to comment.