Skip to content
Snippets Groups Projects
Commit 3a2df052 authored by Kamal Bramwell's avatar Kamal Bramwell
Browse files

Updated getAllPartnerIDs to list of base64-encoded Strings

parent 5b3261b5
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ interface E2e {
fun setPartitionSize(bytes: Long): Long
fun getAllPartnerIds(): List<UserId>
fun getAllPartnerIds(): List<String>
fun getUdAddressFromNdf(): String
fun getUdCertFromNdf(): ByteArray
fun getUdContactFromNdf(): Contact
......
package io.elixxir.xxclient.e2e
import com.google.gson.Gson
import io.elixxir.xxclient.callbacks.*
import io.elixxir.xxclient.models.*
import io.elixxir.xxclient.models.BindingsModel.Companion.decode
......@@ -23,7 +22,7 @@ open class E2eAdapter(protected val e2e: E2eBindings) : E2e{
return e2e.partitionSize(bytes)
}
override fun getAllPartnerIds(): List<UserId> {
override fun getAllPartnerIds(): List<String> {
return decodeArray(e2e.allPartnerIDs)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment