mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-21 06:18:39 +02:00
Fix for AuxPow mining. Ensures that our chain ID is presented to getauxblock
RPC calls. Was being set to 0 due to using default block version (2).
This commit is contained in:
+3
-1
@@ -114,7 +114,9 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn, int algo)
|
||||
CBlock *pblock = &pblocktemplate->block; // pointer for convenience
|
||||
|
||||
// Set block version
|
||||
pblock->nVersion = BLOCK_VERSION_DEFAULT;
|
||||
// pblock->nVersion = BLOCK_VERSION_DEFAULT;
|
||||
// Don't do this now or CHAIN_ID is set to 0
|
||||
|
||||
switch (algo)
|
||||
{
|
||||
case ALGO_SHA256D:
|
||||
|
||||
Reference in New Issue
Block a user