diff options
| author | Pieter Wuille <[email protected]> | 2017-06-20 16:07:53 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-06-20 16:16:38 -0700 |
| commit | d636f3943d39ec893dab2d2546f77f3f2607769d (patch) | |
| tree | 9aed5dfab04afcea8ea06ed6c5965ba3092ef28e /src/wallet/wallet.cpp | |
| parent | Merge #10623: doc: Add 0.14.2 release notes (diff) | |
| parent | Remove unreachable or otherwise redundant code (diff) | |
| download | discoin-d636f3943d39ec893dab2d2546f77f3f2607769d.tar.xz discoin-d636f3943d39ec893dab2d2546f77f3f2607769d.zip | |
Merge #10536: Remove unreachable or otherwise redundant code
4265bf351 Remove unreachable or otherwise redundant code (practicalswift)
Tree-SHA512: bc9666ab5d20c936d78c50c0361405aca9edd116602aa9bcd71a79a904b647ac9eca0651d1a9d530189a6ac1c4e235bfc69ec1a68f7e36cc14d6848ac2206b7b
Diffstat (limited to 'src/wallet/wallet.cpp')
| -rw-r--r-- | src/wallet/wallet.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 2c5c38eb9..58153dfc3 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) @@ -2709,8 +2708,6 @@ bool CWallet::CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletT nBytes = GetVirtualTransactionSize(txNew); - CTransaction txNewConst(txNew); - // Remove scriptSigs to eliminate the fee calculation dummy signatures for (auto& vin : txNew.vin) { vin.scriptSig = CScript(); |