Use block label for root hash of single-block messages.

This commit is contained in:
akwizgran
2018-04-19 13:13:31 +01:00
parent 9196169561
commit 9379990480
2 changed files with 5 additions and 5 deletions

View File

@@ -19,10 +19,10 @@ public class MessageId extends UniqueId {
public static final String ID_LABEL = "org.briarproject.bramble/MESSAGE_ID";
/**
* Label for hashing the root blocks of messages.
* Label for hashing blocks of messages.
*/
public static final String ROOT_LABEL =
"org.briarproject.bramble/MESSAGE_ROOT";
public static final String BLOCK_LABEL =
"org.briarproject.bramble/MESSAGE_BLOCK";
public MessageId(byte[] id) {
super(id);