Skip to content

Commit

Permalink
fix: update GroestlHashWriter by removing type and GetType
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Oct 11, 2023
1 parent 6f09bf5 commit b87d968
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/groestlcoin.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,11 @@ class CGroestlHashWriter
private:
GroestlHasher ctx;

const int nType;
const int nVersion;
public:

CGroestlHashWriter(int nTypeIn, int nVersionIn) : nType(nTypeIn), nVersion(nVersionIn) {}
CGroestlHashWriter(int nVersionIn) : nVersion(nVersionIn) {}

int GetType() const { return nType; }
int GetVersion() const { return nVersion; }

void write(Span<const std::byte> src)
Expand Down

0 comments on commit b87d968

Please sign in to comment.