Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
Poseidon sponge initialization fixed #130
Browse files Browse the repository at this point in the history
  • Loading branch information
ETatuzova authored and martun committed Jan 18, 2024
1 parent 71249c5 commit ac7c0dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace nil {
for (std::size_t i = 0; i < policy_type::state_words; i++) {
this->state[i] = 0;
}
this->state_count = 0;
this->state_count = 1;
}

void absorb(const std::vector<typename policy_type::element_type>& inputs) {
Expand Down

0 comments on commit ac7c0dd

Please sign in to comment.