Remove unreachable or otherwise redundant code

This commit is contained in:
practicalswift
2017-06-12 15:01:46 +02:00
parent 177433ad22
commit 4265bf351a
6 changed files with 2 additions and 16 deletions

View File

@@ -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;