Use payload type on method call instead of string
@@ -414,7 +414,7 @@ pub fn jcli_e2e_flow() {
let vote_tally_cert = jcli
.certificate()
- .new_vote_tally(vote_plan_id, "public".to_string());
+ .new_vote_tally(vote_plan_id, PayloadType::Public);
let tx = jcli
.transaction_builder(jormungandr.genesis_block_hash())
