File tree Expand file tree Collapse file tree 2 files changed +116
-116
lines changed
Expand file tree Collapse file tree 2 files changed +116
-116
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ static std::vector<unsigned char> CommitToArguments(const Consensus::Params& par
2424 CSHA256 sha2;
2525 unsigned char commitment[32 ];
2626 sha2.Write ((const unsigned char *)networkID.c_str (), networkID.length ());
27- // sha2.Write((const unsigned char*)HexStr(params.fedpegScript).c_str(), HexStr(params.fedpegScript).length());
28- // sha2.Write((const unsigned char*)HexStr(params.signblockscript).c_str(), HexStr(params.signblockscript).length());
27+ // sha2.Write((const unsigned char*)HexStr(params.fedpegScript).c_str(), HexStr(params.fedpegScript).length());
28+ sha2.Write ((const unsigned char *)HexStr (params.signblockscript ).c_str (), HexStr (params.signblockscript ).length ());
2929 sha2.Finalize (commitment);
3030 return std::vector<unsigned char >(commitment, commitment + 32 );
3131}
You can’t perform that action at this time.
0 commit comments