Sha256Hash: add back accessor getReversedBytes() as deprecated

This commit is contained in:
Andreas Schildbach 2023-09-06 13:38:27 +02:00
parent 2cdbc986a8
commit 929088cde8

View file

@ -277,6 +277,12 @@ public class Sha256Hash implements Comparable<Sha256Hash> {
return ByteUtils.reverseBytes(bytes);
}
/** @deprecated use {@link #serialize()} */
@Deprecated
public byte[] getReversedBytes() {
return serialize();
}
/**
* Write hash into the given buffer.
*