mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 09:20:04 +01:00
Sha256Hash: add back accessor getReversedBytes()
as deprecated
This commit is contained in:
parent
2cdbc986a8
commit
929088cde8
1 changed files with 6 additions and 0 deletions
|
@ -277,6 +277,12 @@ public class Sha256Hash implements Comparable<Sha256Hash> {
|
||||||
return ByteUtils.reverseBytes(bytes);
|
return ByteUtils.reverseBytes(bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @deprecated use {@link #serialize()} */
|
||||||
|
@Deprecated
|
||||||
|
public byte[] getReversedBytes() {
|
||||||
|
return serialize();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Write hash into the given buffer.
|
* Write hash into the given buffer.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue