Add size annotations to AccountAttributes

This commit is contained in:
Ravi Khadiwala authored and ravi-signal committed 2026-03-06 15:05:39 -06:00
1 parent 610782b8c3
commit db66d4ef18
2 files changed
+7 -1

No files matched your search

@@ -40,6 +40,7 @@ public class AccountAttributes {
private byte[] name;
@JsonProperty
@ExactlySize({0, 64})
private String registrationLock;
@JsonProperty
@@ -61,6 +62,7 @@ public class AccountAttributes {
@JsonProperty
@Nullable
@JsonDeserialize(using = ByteArrayAdapter.Deserializing.class)
@ExactlySize({0, 32})
private byte[] recoveryPassword = null;
public AccountAttributes() {