aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-tx.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-06-20 16:07:53 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-06-20 16:16:38 -0700
commitd636f3943d39ec893dab2d2546f77f3f2607769d (patch)
tree9aed5dfab04afcea8ea06ed6c5965ba3092ef28e /src/bitcoin-tx.cpp
parentc38f540298f0e188df5ed68fd56c623b9ac8331b (diff)
parent4265bf351a5c7b89ec33deff9f3800f28ff6f3e3 (diff)
downloadbitcoin-d636f3943d39ec893dab2d2546f77f3f2607769d.tar.xz
Merge #10536: Remove unreachable or otherwise redundant code
4265bf351 Remove unreachable or otherwise redundant code (practicalswift) Tree-SHA512: bc9666ab5d20c936d78c50c0361405aca9edd116602aa9bcd71a79a904b647ac9eca0651d1a9d530189a6ac1c4e235bfc69ec1a68f7e36cc14d6848ac2206b7b
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r--src/bitcoin-tx.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp
index 714ee555ec..6093f78fb1 100644
--- a/src/bitcoin-tx.cpp
+++ b/src/bitcoin-tx.cpp
@@ -299,7 +299,6 @@ static void MutateTxAddOutPubKey(CMutableTransaction& tx, const std::string& str
if (!pubkey.IsFullyValid())
throw std::runtime_error("invalid TX output pubkey");
CScript scriptPubKey = GetScriptForRawPubKey(pubkey);
- CBitcoinAddress addr(scriptPubKey);
// Extract and validate FLAGS
bool bSegWit = false;