Skip to content

Commit 45dcf7c

Browse files
authored
feat: Fix(vote plan id ): decode from hex to bytes | NPG-000 (#599)
Decode vote plan id from hex
1 parent 8dfce7c commit 45dcf7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sign/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ fn main() -> Result<(), Box<dyn Error>> {
7676
encrypted_vote,
7777
proof,
7878
args.proposal,
79-
args.vote_plan_id.as_bytes(),
79+
&hex::decode(args.vote_plan_id)?,
8080
)?;
8181

8282
// fragment in hex: output consumed as input to another program

0 commit comments

Comments
 (0)