Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-3009] Fixes invalid JsonGetter, comment #1811

Merged
merged 9 commits into from
Aug 27, 2019
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
})
/*
The original deserialised private transaction sent via eea_sendRawTransaction
This class is used if the original request was sent with privateFrom and privateFor
This class is used if the original request was sent with privacyGroupId
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be good to update the comment in PrivateTransactionLegacyResult as well (same reason).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has now been addressed. Sorry for the delay.

*/
public class PrivateTransactionGroupResult extends PrivateTransactionResult {
private final String privacyGroupId;
Expand All @@ -46,7 +46,7 @@ public PrivateTransactionGroupResult(final PrivateTransaction tx) {
this.privacyGroupId = BytesValues.asBase64String(tx.getPrivacyGroupId().get());
}

@JsonGetter(value = "privateFor")
@JsonGetter(value = "privacyGroupId")
public String getPrivacyGroupId() {
return privacyGroupId;
}
Expand Down