diff --git a/core/src/main/java/org/bitcoinj/core/BaseMessage.java b/core/src/main/java/org/bitcoinj/core/BaseMessage.java index c8e99d209..75af7657c 100644 --- a/core/src/main/java/org/bitcoinj/core/BaseMessage.java +++ b/core/src/main/java/org/bitcoinj/core/BaseMessage.java @@ -16,7 +16,6 @@ package org.bitcoinj.core; -import org.bitcoinj.base.Sha256Hash; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -64,12 +63,6 @@ public abstract class BaseMessage implements Message { */ protected abstract void bitcoinSerializeToStream(OutputStream stream) throws IOException; - /** @deprecated use {@link Transaction#getTxId()}, {@link Block#getHash()}, {@link FilteredBlock#getHash()} or {@link TransactionOutPoint#hash()} */ - @Deprecated - public Sha256Hash getHash() { - throw new UnsupportedOperationException(); - } - /** * Return the size of the serialized message. Note that if the message was deserialized from a payload, this * size can differ from the size of the original payload.