Replace getauxblock CBigNum with CScriptNum
This commit is contained in:
parent
5da72d7da8
commit
5f9b807608
|
@ -860,7 +860,7 @@ Value getauxblock(const Array& params, bool fHelp)
|
|||
pblock->nNonce = 0;
|
||||
|
||||
// Push OP_2 just in case we want versioning later
|
||||
pblock->vtx[0].vin[0].scriptSig = CScript() << pblock->nBits << CBigNum(1) << OP_2;
|
||||
pblock->vtx[0].vin[0].scriptSig = CScript() << pblock->nBits << CScriptNum(1) << OP_2;
|
||||
pblock->hashMerkleRoot = pblock->BuildMerkleTree();
|
||||
|
||||
// Sets the version
|
||||
|
|
Loading…
Reference in a new issue