mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
trivial: remove unused variable
Remove the unused variable "blockTmp" in CMerkleTx::SetMerkleBranch. It was previously used to read the block from disk if not provided as argument, but is no longer needed.
This commit is contained in:
parent
2468292a03
commit
4207630f5a
@ -3534,7 +3534,6 @@ CWalletKey::CWalletKey(int64_t nExpires)
|
||||
int CMerkleTx::SetMerkleBranch(const CBlockIndex* pindex, int posInBlock)
|
||||
{
|
||||
AssertLockHeld(cs_main);
|
||||
CBlock blockTmp;
|
||||
|
||||
// Update the tx's hashBlock
|
||||
hashBlock = pindex->GetBlockHash();
|
||||
|
Loading…
x
Reference in New Issue
Block a user