Skip to content

Commit

Permalink
refactor: drop unused ConstCBLSPublicKeyVersionWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
knst committed Dec 9, 2024
1 parent f19cd48 commit 68ee12d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/bls/bls.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,21 +309,6 @@ class CBLSPublicKey : public CBLSWrapper<bls::G1Element, BLS_CURVE_PUBKEY_SIZE,

};

class ConstCBLSPublicKeyVersionWrapper {
private:
const CBLSPublicKey& obj;
bool legacy;
public:
ConstCBLSPublicKeyVersionWrapper(const CBLSPublicKey& obj, bool legacy)
: obj(obj)
, legacy(legacy)
{}
template <typename Stream>
inline void Serialize(Stream& s) const {
obj.Serialize(s, legacy);
}
};

class CBLSPublicKeyVersionWrapper {
private:
CBLSPublicKey& obj;
Expand Down

0 comments on commit 68ee12d

Please sign in to comment.