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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue