aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2017-06-12 15:01:46 +0200
committerpracticalswift <[email protected]>2017-06-12 15:01:46 +0200
commit4265bf351a5c7b89ec33deff9f3800f28ff6f3e3 (patch)
tree9267a414b11a86780a4163bee5b9461142b80f3b /src/wallet/wallet.cpp
parentMerge #8694: Basic multiwallet support (diff)
downloaddiscoin-4265bf351a5c7b89ec33deff9f3800f28ff6f3e3.tar.xz
discoin-4265bf351a5c7b89ec33deff9f3800f28ff6f3e3.zip
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 eb6de4870..e95a8c809 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();