mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01: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…
Reference in New Issue
Block a user