Skip to content

Commit

Permalink
Review comment applied
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 committed Apr 13, 2021
1 parent 148dca0 commit 0e6190e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/liblelantus/challenge_generator_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class ChallengeGeneratorImpl : public ChallengeGenerator {
private:
void addSize(uint32_t size) {
if (version >= 1) {
std::string s = std::to_string(size);
hash.Write((const unsigned char*)s.c_str(), s.size());
Scalar s(size);
add(s);
}
}
private:
Expand Down

0 comments on commit 0e6190e

Please sign in to comment.