3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-12 02:05:50 +00:00

Fix JAXB annotations for transactions with creatorPublicKey

This commit is contained in:
catbref 2019-04-26 09:04:58 +01:00
parent d4ce797241
commit b0b74eb48d
3 changed files with 18 additions and 18 deletions

View File

@ -89,15 +89,15 @@ public class AccountFlagsTransactionData extends TransactionData {
// Re-expose to JAXB
@Override
@XmlElement
public byte[] getCreatorPublicKey() {
@XmlElement(name = "creatorPublicKey")
@Schema(name = "creatorPublicKey", description = "creator's public key", example = "2tiMr5LTpaWCgbRvkPK8TFd7k63DyHJMMFFsz9uBf1ZP")
public byte[] getAccountFlagsCreatorPublicKey() {
return super.getCreatorPublicKey();
}
@Override
@XmlElement
public void setCreatorPublicKey(byte[] creatorPublicKey) {
@XmlElement(name = "creatorPublicKey")
@Schema(name = "creatorPublicKey", description = "creator's public key", example = "2tiMr5LTpaWCgbRvkPK8TFd7k63DyHJMMFFsz9uBf1ZP")
public void setAccountFlagsCreatorPublicKey(byte[] creatorPublicKey) {
super.setCreatorPublicKey(creatorPublicKey);
}

View File

@ -42,15 +42,15 @@ public class EnableForgingTransactionData extends TransactionData {
// Re-expose to JAXB
@Override
@XmlElement
public byte[] getCreatorPublicKey() {
@XmlElement(name = "creatorPublicKey")
@Schema(name = "creatorPublicKey", description = "creator's public key", example = "2tiMr5LTpaWCgbRvkPK8TFd7k63DyHJMMFFsz9uBf1ZP")
public byte[] getEnableForgingCreatorPublicKey() {
return super.getCreatorPublicKey();
}
@Override
@XmlElement
public void setCreatorPublicKey(byte[] creatorPublicKey) {
@XmlElement(name = "creatorPublicKey")
@Schema(name = "creatorPublicKey", description = "creator's public key", example = "2tiMr5LTpaWCgbRvkPK8TFd7k63DyHJMMFFsz9uBf1ZP")
public void setEnableForgingCreatorPublicKey(byte[] creatorPublicKey) {
super.setCreatorPublicKey(creatorPublicKey);
}

View File

@ -71,15 +71,15 @@ public class SetGroupTransactionData extends TransactionData {
// Re-expose to JAXB
@Override
@XmlElement
public byte[] getCreatorPublicKey() {
@XmlElement(name = "creatorPublicKey")
@Schema(name = "creatorPublicKey", description = "creator's public key", example = "2tiMr5LTpaWCgbRvkPK8TFd7k63DyHJMMFFsz9uBf1ZP")
public byte[] getSetGroupCreatorPublicKey() {
return super.getCreatorPublicKey();
}
@Override
@XmlElement
public void setCreatorPublicKey(byte[] creatorPublicKey) {
@XmlElement(name = "creatorPublicKey")
@Schema(name = "creatorPublicKey", description = "creator's public key", example = "2tiMr5LTpaWCgbRvkPK8TFd7k63DyHJMMFFsz9uBf1ZP")
public void setSetGroupCreatorPublicKey(byte[] creatorPublicKey) {
super.setCreatorPublicKey(creatorPublicKey);
}