aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-tx.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/bitcoin-tx.cpp
parent177433ad22d6b386fec10a92a14cd8472ea02f41 (diff)
downloadbitcoin-4265bf351a5c7b89ec33deff9f3800f28ff6f3e3.tar.xz
Remove unreachable or otherwise redundant code
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 499e7ea926..101e99741b 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;