mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-23 11:27:51 +00:00
Fix incorrect getDataLength() in RegisterNameTransactionTransformer
This commit is contained in:
parent
74f89af841
commit
28991a926f
@ -18,11 +18,10 @@ import com.google.common.primitives.Longs;
|
|||||||
public class RegisterNameTransactionTransformer extends TransactionTransformer {
|
public class RegisterNameTransactionTransformer extends TransactionTransformer {
|
||||||
|
|
||||||
// Property lengths
|
// Property lengths
|
||||||
private static final int OWNER_LENGTH = ADDRESS_LENGTH;
|
|
||||||
private static final int NAME_SIZE_LENGTH = INT_LENGTH;
|
private static final int NAME_SIZE_LENGTH = INT_LENGTH;
|
||||||
private static final int DATA_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;
|
protected static final TransactionLayout layout;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user