Skip to content

Commit

Permalink
Use sizeof(blst_fp12) for size of GTElement serialization (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Jun 15, 2023
1 parent 22f60a1 commit 9a9cedb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class G2Element {

class GTElement {
public:
static const size_t SIZE = 576;
static const size_t SIZE = sizeof(blst_fp12);

static GTElement FromBytes(Bytes bytes);
static GTElement FromBytesUnchecked(Bytes bytes);
Expand Down

0 comments on commit 9a9cedb

Please sign in to comment.