forked from Qortal/qortal
Fix incorrect tx type values in transaction layouts
This commit is contained in:
parent
a9122cc6cb
commit
8149e18f49
@ -29,7 +29,7 @@ public class AccountFlagsTransactionTransformer extends TransactionTransformer {
|
||||
|
||||
static {
|
||||
layout = new TransactionLayout();
|
||||
layout.add("txType: " + TransactionType.GROUP_INVITE.valueString, TransformationType.INT);
|
||||
layout.add("txType: " + TransactionType.ACCOUNT_FLAGS.valueString, TransformationType.INT);
|
||||
layout.add("timestamp", TransformationType.TIMESTAMP);
|
||||
layout.add("transaction's groupID", TransformationType.INT);
|
||||
layout.add("reference", TransformationType.SIGNATURE);
|
||||
|
@ -25,7 +25,7 @@ public class GroupApprovalTransactionTransformer extends TransactionTransformer
|
||||
|
||||
static {
|
||||
layout = new TransactionLayout();
|
||||
layout.add("txType: " + TransactionType.GROUP_INVITE.valueString, TransformationType.INT);
|
||||
layout.add("txType: " + TransactionType.GROUP_APPROVAL.valueString, TransformationType.INT);
|
||||
layout.add("timestamp", TransformationType.TIMESTAMP);
|
||||
layout.add("transaction's groupID", TransformationType.INT);
|
||||
layout.add("reference", TransformationType.SIGNATURE);
|
||||
|
@ -25,7 +25,7 @@ public class ProxyForgingTransactionTransformer extends TransactionTransformer {
|
||||
|
||||
static {
|
||||
layout = new TransactionLayout();
|
||||
layout.add("txType: " + TransactionType.GROUP_INVITE.valueString, TransformationType.INT);
|
||||
layout.add("txType: " + TransactionType.PROXY_FORGING.valueString, TransformationType.INT);
|
||||
layout.add("timestamp", TransformationType.TIMESTAMP);
|
||||
layout.add("transaction's groupID", TransformationType.INT);
|
||||
layout.add("reference", TransformationType.SIGNATURE);
|
||||
|
@ -26,7 +26,7 @@ public class SetGroupTransactionTransformer extends TransactionTransformer {
|
||||
|
||||
static {
|
||||
layout = new TransactionLayout();
|
||||
layout.add("txType: " + TransactionType.GROUP_INVITE.valueString, TransformationType.INT);
|
||||
layout.add("txType: " + TransactionType.SET_GROUP.valueString, TransformationType.INT);
|
||||
layout.add("timestamp", TransformationType.TIMESTAMP);
|
||||
layout.add("transaction's groupID", TransformationType.INT);
|
||||
layout.add("reference", TransformationType.SIGNATURE);
|
||||
|
@ -32,7 +32,7 @@ public class UpdateAssetTransactionTransformer extends TransactionTransformer {
|
||||
|
||||
static {
|
||||
layout = new TransactionLayout();
|
||||
layout.add("txType: " + TransactionType.ISSUE_ASSET.valueString, TransformationType.INT);
|
||||
layout.add("txType: " + TransactionType.UPDATE_ASSET.valueString, TransformationType.INT);
|
||||
layout.add("timestamp", TransformationType.TIMESTAMP);
|
||||
layout.add("transaction's groupID", TransformationType.INT);
|
||||
layout.add("reference", TransformationType.SIGNATURE);
|
||||
|
Loading…
Reference in New Issue
Block a user