Skip to content

Commit

Permalink
Wallet: make getUnspents() public.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehearn committed Aug 31, 2015
1 parent 6b4123c commit 864f252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/bitcoinj/core/Wallet.java
Original file line number Diff line number Diff line change
Expand Up @@ -2781,7 +2781,7 @@ int getPoolSize(WalletTransaction.Pool pool) {
}

/** Returns a copy of the internal unspent outputs list */
List<TransactionOutput> getUnspents() {
public List<TransactionOutput> getUnspents() {
lock.lock();
try {
return new ArrayList<TransactionOutput>(myUnspents);
Expand Down

0 comments on commit 864f252

Please sign in to comment.