Build
This commit is contained in:
@@ -287,8 +287,8 @@ CBlockTemplate* CreateNewBlock(const CScript& _scriptPubKeyIn, int32_t gpucount,
|
|||||||
if (pwalletMain->GetHDSeed(seed)) {
|
if (pwalletMain->GetHDSeed(seed)) {
|
||||||
ovk = ovkForShieldingFromTaddr(seed);
|
ovk = ovkForShieldingFromTaddr(seed);
|
||||||
|
|
||||||
tb.AddSaplingOutput(ovk, cheatCatcher.value, cb.vout[0].nValue);
|
tb.AddSaplingOutput(ovk, cheatCatcher.value(), cb.vout[0].nValue);
|
||||||
tb.AddOpRet(mtx.vout[mtx.vout.size - 1].scriptPubKey);
|
tb.AddOpRet(mtx.vout[mtx.vout.size() - 1].scriptPubKey);
|
||||||
|
|
||||||
cheatSpend = tb.Build();
|
cheatSpend = tb.Build();
|
||||||
if (cheatSpend)
|
if (cheatSpend)
|
||||||
@@ -970,6 +970,7 @@ void static VerusStaker(CWallet *pwallet)
|
|||||||
RenameThread("verus-staker");
|
RenameThread("verus-staker");
|
||||||
|
|
||||||
const CChainParams& chainparams = Params();
|
const CChainParams& chainparams = Params();
|
||||||
|
auto consensusParams = chainparams.GetConsensus();
|
||||||
|
|
||||||
// Each thread has its own key
|
// Each thread has its own key
|
||||||
CReserveKey reservekey(pwallet);
|
CReserveKey reservekey(pwallet);
|
||||||
|
|||||||
Reference in New Issue
Block a user