Skip to content

Commit

Permalink
print v as a uint32.
Browse files Browse the repository at this point in the history
  • Loading branch information
suyash67 committed May 2, 2023
1 parent b36ac4a commit 80f678a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/barretenberg/crypto/ecdsa/ecdsa.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ inline bool operator==(signature const& lhs, signature const& rhs)

inline std::ostream& operator<<(std::ostream& os, signature const& sig)
{
os << "{ " << sig.r << ", " << sig.s << ", " << sig.v << " }";
os << "{ " << sig.r << ", " << sig.s << ", " << static_cast<uint32_t>(sig.v) << " }";
return os;
}

Expand Down

0 comments on commit 80f678a

Please sign in to comment.