Fix incorrect getDataLength() in RegisterNameTransactionTransformer

This commit is contained in:
catbref 2020-05-19 14:55:26 +01:00
parent 74f89af841
commit 28991a926f

View File

@ -18,11 +18,10 @@ import com.google.common.primitives.Longs;
public class RegisterNameTransactionTransformer extends TransactionTransformer {
// Property lengths
private static final int OWNER_LENGTH = ADDRESS_LENGTH;
private static final int NAME_SIZE_LENGTH = INT_LENGTH;
private static final int DATA_SIZE_LENGTH = INT_LENGTH;
private static final int EXTRAS_LENGTH = OWNER_LENGTH + NAME_SIZE_LENGTH + DATA_SIZE_LENGTH;
private static final int EXTRAS_LENGTH = NAME_SIZE_LENGTH + DATA_SIZE_LENGTH;
protected static final TransactionLayout layout;