Skip to content

Commit

Permalink
removes quotes from encrypted tally
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Jan 18, 2021
1 parent c4d536b commit 9545f38
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -206,7 +206,9 @@ pub fn jcli_e2e_flow_private_vote() {
jormungandr_lib::interfaces::PrivateTallyState::Encrypted {
encrypted_tally,
total_stake: _,
} => serde_json::to_string(&encrypted_tally).unwrap(),
} => serde_json::to_string(&encrypted_tally)
.unwrap()
.replace("\"", ""),
_ => panic!("tally state should be encrypted"),
},
_ => panic!("voting should be private"),
Expand Down

0 comments on commit 9545f38

Please sign in to comment.