|
|
|
|
257
|
let keys: Vec<(PublicKey, String)> = participants_keys
|
257
|
let keys: Vec<(PublicKey, String)> = participants_keys
|
258
|
.into_iter()
|
258
|
.into_iter()
|
259
|
.map(|(pk, participant_id)| {
|
259
|
.map(|(pk, participant_id)| {
|
260
|
- base64::decode(&pk)
|
|
|
|
|
260
|
+ base64::decode(pk)
|
261
|
.map(|it| (it, participant_id))
|
261
|
.map(|it| (it, participant_id))
|
262
|
.map_err(|err| ApiError::new(ErrorType::Other, err.to_string()))
|
262
|
.map_err(|err| ApiError::new(ErrorType::Other, err.to_string()))
|
263
|
.and_then(|(pk_bytes, participant_id)| {
|
263
|
.and_then(|(pk_bytes, participant_id)| {
|