aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-06-12 15:01:46 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-06-12 15:01:46 +0200
commit4265bf351a5c7b89ec33deff9f3800f28ff6f3e3 (patch)
tree9267a414b11a86780a4163bee5b9461142b80f3b /src/wallet/wallet.cpp
parent177433ad22d6b386fec10a92a14cd8472ea02f41 (diff)
downloadbitcoin-4265bf351a5c7b89ec33deff9f3800f28ff6f3e3.tar.xz
Remove unreachable or otherwise redundant code
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index eb6de4870f..e95a8c809f 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -205,7 +205,6 @@ bool CWallet::AddCryptedKey(const CPubKey &vchPubKey,
vchCryptedSecret,
mapKeyMetadata[vchPubKey.GetID()]);
}
- return false;
}
bool CWallet::LoadKeyMetadata(const CTxDestination& keyID, const CKeyMetadata &meta)
@@ -2708,8 +2707,6 @@ bool CWallet::CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletT
unsigned int nBytes = GetVirtualTransactionSize(txNew);
- CTransaction txNewConst(txNew);
-
// Remove scriptSigs to eliminate the fee calculation dummy signatures
for (auto& vin : txNew.vin) {
vin.scriptSig = CScript();