mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 09:20:04 +01:00
BaseMessage: remove deprecated method getHash()
It was never fully implemented anyways.
This commit is contained in:
parent
5eb67285db
commit
2ead9f7c57
1 changed files with 0 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue