mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 10:46:47 +00:00
Update from 684 to 776 for payment address length to account for signature
This commit is contained in:
1 parent
e2b093abce
commit
3745a0b81d
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -36,7 +36,7 @@ public class CreateProfileRequest {
|
||||
private String about;
|
||||
|
||||
@JsonProperty
|
||||
@ExactlySize({0, 684})
|
||||
@ExactlySize({0, 776})
|
||||
private String paymentAddress;
|
||||
|
||||
@JsonProperty
|
||||
|
||||
+3
-3
@@ -485,7 +485,7 @@ public class ProfileControllerTest {
|
||||
clearInvocations(AuthHelper.VALID_ACCOUNT_TWO);
|
||||
|
||||
final String name = RandomStringUtils.randomAlphabetic(380);
|
||||
final String paymentAddress = RandomStringUtils.randomAlphanumeric(684);
|
||||
final String paymentAddress = RandomStringUtils.randomAlphanumeric(776);
|
||||
|
||||
Response response = resources.getJerseyTest()
|
||||
.target("/v1/profile")
|
||||
@@ -523,7 +523,7 @@ public class ProfileControllerTest {
|
||||
clearInvocations(AuthHelper.VALID_ACCOUNT_TWO);
|
||||
|
||||
final String name = RandomStringUtils.randomAlphabetic(380);
|
||||
final String paymentAddress = RandomStringUtils.randomAlphanumeric(684);
|
||||
final String paymentAddress = RandomStringUtils.randomAlphanumeric(776);
|
||||
|
||||
Response response = resources.getJerseyTest()
|
||||
.target("/v1/profile")
|
||||
@@ -572,7 +572,7 @@ public class ProfileControllerTest {
|
||||
clearInvocations(AuthHelper.VALID_ACCOUNT_TWO);
|
||||
|
||||
final String name = RandomStringUtils.randomAlphabetic(380);
|
||||
final String paymentAddress = RandomStringUtils.randomAlphanumeric(684);
|
||||
final String paymentAddress = RandomStringUtils.randomAlphanumeric(776);
|
||||
|
||||
Response response = resources.getJerseyTest()
|
||||
.target("/v1/profile")
|
||||
|
||||
Reference in new issue
Block a user