pub/sec tx key cleanup

This commit is contained in:
SChernykh
2023-01-09 01:15:06 +01:00
parent 647319b731
commit 11e4c459c9
4 changed files with 10 additions and 21 deletions
+3 -5
View File
@@ -201,14 +201,12 @@ SideChain::~SideChain()
}
}
void SideChain::fill_sidechain_data(PoolBlock& block, const Wallet* w, const hash& txkeySec, std::vector<MinerShare>& shares) const
void SideChain::fill_sidechain_data(PoolBlock& block, std::vector<MinerShare>& shares) const
{
ReadLock lock(m_sidechainLock);
block.m_minerWallet = *w;
block.m_txkeySec = txkeySec;
block.m_uncles.clear();
ReadLock lock(m_sidechainLock);
const PoolBlock* tip = m_chainTip;
if (!tip) {