Skip to content

Commit 4207630

Browse files
committed
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.
1 parent 2468292 commit 4207630

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3534,7 +3534,6 @@ CWalletKey::CWalletKey(int64_t nExpires)
35343534
int CMerkleTx::SetMerkleBranch(const CBlockIndex* pindex, int posInBlock)
35353535
{
35363536
AssertLockHeld(cs_main);
3537-
CBlock blockTmp;
35383537

35393538
// Update the tx's hashBlock
35403539
hashBlock = pindex->GetBlockHash();

0 commit comments

Comments
 (0)