Skip to content

Commit

Permalink
TransactionOutPoint: remove deprecated method getHash()
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Sep 2, 2024
1 parent 6fb34f5 commit b18304c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,6 @@ public long index() {
return index;
}

/**
* @deprecated Use {@link #hash()}
*/
@Deprecated
public Sha256Hash getHash() {
return hash();
}

/**
* @deprecated Use {@link #index()}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ private Iterator<TransactionOutPoint> randomOutPoints() {
@Test
public void deprecatedMembers() {
TransactionOutPoint outpoint = TransactionOutPoint.UNCONNECTED;
outpoint.getHash();
outpoint.getIndex();
}
}

0 comments on commit b18304c

Please sign in to comment.