From b18304c409857fe425621596e9c6046917f52d4b Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Tue, 3 Sep 2024 00:51:40 +0200 Subject: [PATCH] TransactionOutPoint: remove deprecated method getHash() --- .../main/java/org/bitcoinj/core/TransactionOutPoint.java | 8 -------- .../java/org/bitcoinj/core/TransactionOutPointTest.java | 1 - 2 files changed, 9 deletions(-) diff --git a/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java b/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java index 7c1473d257a..95ae0c50f0c 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java +++ b/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java @@ -242,14 +242,6 @@ public long index() { return index; } - /** - * @deprecated Use {@link #hash()} - */ - @Deprecated - public Sha256Hash getHash() { - return hash(); - } - /** * @deprecated Use {@link #index()} */ diff --git a/core/src/test/java/org/bitcoinj/core/TransactionOutPointTest.java b/core/src/test/java/org/bitcoinj/core/TransactionOutPointTest.java index 67b94af1390..3c5c135fa39 100644 --- a/core/src/test/java/org/bitcoinj/core/TransactionOutPointTest.java +++ b/core/src/test/java/org/bitcoinj/core/TransactionOutPointTest.java @@ -57,7 +57,6 @@ private Iterator randomOutPoints() { @Test public void deprecatedMembers() { TransactionOutPoint outpoint = TransactionOutPoint.UNCONNECTED; - outpoint.getHash(); outpoint.getIndex(); } }