Skip to content

Commit

Permalink
Updated chainparams genesis block hex parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict committed Feb 14, 2024
1 parent 5bbfaa0 commit 47b42c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/kernel/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ static CBlock CreateBLSCTGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t
static CBlock CreateBLSCTGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const std::string& outHex)
{
blsct::UnsignedOutput out;
auto hex = ParseHex(outHex);
auto span = MakeByteSpan(hex);
DataStream ss{span};
DataStream ss{ParseHex(outHex)};
ss >> out;

return CreateBLSCTGenesisBlock(nTime, nNonce, nBits, nVersion, out);
Expand Down

0 comments on commit 47b42c4

Please sign in to comment.