diff options
author | Daniel Kraft <d@domob.eu> | 2016-08-20 10:28:06 +0200 |
---|---|---|
committer | Daniel Kraft <d@domob.eu> | 2016-08-20 10:28:06 +0200 |
commit | 4207630f5aef4e1937052eb96be7209e51d1371d (patch) | |
tree | 6738a9620b4e625a5e791e9800f797048f1650d7 | |
parent | 2468292a03539c5b46220db15078f81915006915 (diff) |
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.
-rw-r--r-- | src/wallet/wallet.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index e19c40dbd1..bad8277170 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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(); |