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:
Daniel Kraft 2016-08-20 10:28:06 +02:00
parent 2468292a03
commit 4207630f5a

View File

@ -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();