Skip to content

Commit

Permalink
Updating public key to match backend
Browse files Browse the repository at this point in the history
  • Loading branch information
adonese committed Jun 6, 2024
1 parent 45f12fc commit 8f11b99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=24.6.7
version=24.6.8
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data class SignUpRequest (
@SerialName("firebase_token")
val firebaseVerificationID: String? = null,

@SerialName("user_pubkey")
@SerialName("public_key")
val userPubKey: String? = null,

@SerialName("device_id")
Expand Down
3 changes: 2 additions & 1 deletion lib/src/test/java/com/tuti/api/TutiApiClientTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ internal class TutiApiClientTest {

// 2024-06-02 23:07:22.056 13114-13412 okhttp.OkHttpClient sd.nil.app I {"from_account":"0111493885","to_account":"12","amount":100.0,"signature":"","uuid":"1337a79b-3be8-4dc0-9ef9-d86ba99a2d35","signed_uuid":"YmmSJnW9Dvq4n2uda6rqIhsBy3TuzndWdod3m20ma0X3PW+RxQLj/FcYOxcJ4o2Z4Osug8KKO2siHkQRp/DdLIhnsXjS2i+nL8d3KmuxKVSzQ3T2WA6fLcZjEwlYMhUR3T+hCyNA9TU5eCHuvYJ7sMcE96AYPTrP9greQ0itaOERIRtU+twi3wo9Lo0ZlKsyuzPNlE+G4NTJb7R7cVOyegiSIZWrN/Xfi46HVFqjOlxTua8/mDE82Zt76u+W2B8z8Ivkv+70w+9bM4o04c1qdubfjATYGcgYLvUw8nwKKITHm2HkSMPLCyY3reqcCzj2NckkIyUaIRYKdD6H3EB5xQ==","timestamp":"2024-06-02T20:07:22.040Z"}

// {"from_account":"0111493888","to_account":"12","amount":1000.0,"signature":"","uuid":"019c55a1-a748-4faf-88f4-2948c2ddd37c","signed_uuid":"Lr+zgWoSF/yeg00RgHIiAvcYU008F0GzCc72bdURy6CjtddBU/ucEwzOvf2jxV1MIwjWSedXII0cG8pRgFsTE3TUG6s8qjjkxVkPYQrbrJjjaWrRau/eBg05DVkcPXXABQK70Uz1ElsDyKwriJPS7I0YB4rEeTQktbERb4WXTKQFJ929kM8KCFkZslAYMDcCyz279JFrXQN4F47ipHONKxH92RfQovE5ZxJdmat/rtNb/Cap4CZObpIgnhqHNtFprkDEMAvJUoy5N+3MhgpPvdCZ3MBenPZxia9mFHxpr6P5Nhgr2hdqYJTDLHhkBFbrVD1hK+1URyHRmziMHAhe2g==","timestamp":"2024-06-06T07:43:25.118Z"}
// Call the method
tutiApiClient.noebsTransfer(NoebsTransfer("0111493885", toAccount = "249_ACCT_1", amount = 32.32, signature = "", uuid = "1337a79b-3be8-4dc0-9ef9-d86ba99a2d35", signedUUid = "YmmSJnW9Dvq4n2uda6rqIhsBy3TuzndWdod3m20ma0X3PW+RxQLj/FcYOxcJ4o2Z4Osug8KKO2siHkQRp/DdLIhnsXjS2i+nL8d3KmuxKVSzQ3T2WA6fLcZjEwlYMhUR3T+hCyNA9TU5eCHuvYJ7sMcE96AYPTrP9greQ0itaOERIRtU+twi3wo9Lo0ZlKsyuzPNlE+G4NTJb7R7cVOyegiSIZWrN/Xfi46HVFqjOlxTua8/mDE82Zt76u+W2B8z8Ivkv+70w+9bM4o04c1qdubfjATYGcgYLvUw8nwKKITHm2HkSMPLCyY3reqcCzj2NckkIyUaIRYKdD6H3EB5xQ=="), { response ->
tutiApiClient.noebsTransfer(NoebsTransfer("0111493885", toAccount = "249_ACCT_1", amount = 32.32, signature = "", uuid = "019c55a1-a748-4faf-88f4-2948c2ddd37c", signedUUid = "Lr+zgWoSF/yeg00RgHIiAvcYU008F0GzCc72bdURy6CjtddBU/ucEwzOvf2jxV1MIwjWSedXII0cG8pRgFsTE3TUG6s8qjjkxVkPYQrbrJjjaWrRau/eBg05DVkcPXXABQK70Uz1ElsDyKwriJPS7I0YB4rEeTQktbERb4WXTKQFJ929kM8KCFkZslAYMDcCyz279JFrXQN4F47ipHONKxH92RfQovE5ZxJdmat/rtNb/Cap4CZObpIgnhqHNtFprkDEMAvJUoy5N+3MhgpPvdCZ3MBenPZxia9mFHxpr6P5Nhgr2hdqYJTDLHhkBFbrVD1hK+1URyHRmziMHAhe2g=="), { response ->
responseReceived = response
latch.countDown() // Decrease the count of the latch, releasing the wait in test
}, { _, error ->
Expand Down

0 comments on commit 8f11b99

Please sign in to comment.