diff --git a/crates/context/config/src/client/env/config/mutate.rs b/crates/context/config/src/client/env/config/mutate.rs index e6e83ef9e..ed388319f 100644 --- a/crates/context/config/src/client/env/config/mutate.rs +++ b/crates/context/config/src/client/env/config/mutate.rs @@ -142,9 +142,9 @@ impl<'a> Method for Mutate<'a> { let signed = ICPSigned::new(request, |b| signer_sk.sign(b))?; let encoded2 = Encode!(&signed)?; - + let encoded = candid::encode_one(&signed)?; - + println!("encoded: {:?}", encoded); println!("encoded2: {:?}", encoded2); diff --git a/crates/context/config/src/client/env/config/query/members.rs b/crates/context/config/src/client/env/config/query/members.rs index 828aec959..1b8a9e462 100644 --- a/crates/context/config/src/client/env/config/query/members.rs +++ b/crates/context/config/src/client/env/config/query/members.rs @@ -119,10 +119,8 @@ impl Method for MembersRequest { fn decode(response: Vec) -> eyre::Result { let decoded: Vec = Decode!(&response, Vec)?; - let converted: Result, _> = decoded - .into_iter() - .map(|id| id.rt()) - .collect(); + let converted: Result, _> = + decoded.into_iter().map(|id| id.rt()).collect(); Ok(converted?) }