Skip to content

Commit

Permalink
Merge branch 'refs/heads/feat/poseidon-bn254' into feat/rkyv
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Aug 28, 2024
2 parents f93a720 + 2892f38 commit 35c04c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zktrie/src/state/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn poseidon_hash_scheme(a: &[u8; 32], b: &[u8; 32], domain: &[u8; 32]) -> Option
return None;
};

Some(hash_with_domain(&[fa, fb], fdomain).to_bytes())
Some(hash_with_domain(&[fa, fb], fdomain).to_repr())
}

pub(crate) const NODE_TYPE_MIDDLE_0: u8 = 6;
Expand Down

0 comments on commit 35c04c1

Please sign in to comment.