From 3b73becfd8aa003248251b357a5cfef52e55956e Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Wed, 6 Mar 2024 12:41:01 +0100 Subject: [PATCH] fix democracy.vote extrinsic --- client/src/commands/encointer_democracy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/commands/encointer_democracy.rs b/client/src/commands/encointer_democracy.rs index c95e5f8c..d5fa1949 100644 --- a/client/src/commands/encointer_democracy.rs +++ b/client/src/commands/encointer_democracy.rs @@ -110,7 +110,7 @@ pub fn vote(_args: &str, matches: &ArgMatches<'_>) -> Result<(), clap::Error> { }), ) .await; - let reputation_bvec = ReputationVec::>::try_from(reputation_vec); + let reputation_bvec = ReputationVec::>::try_from(reputation_vec).unwrap(); let tx_payment_cid_arg = matches.tx_payment_cid_arg(); set_api_extrisic_params_builder(&mut api, tx_payment_cid_arg).await;