mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Merge #10536: Remove unreachable or otherwise redundant code
4265bf351 Remove unreachable or otherwise redundant code (practicalswift)
Tree-SHA512: bc9666ab5d20c936d78c50c0361405aca9edd116602aa9bcd71a79a904b647ac9eca0651d1a9d530189a6ac1c4e235bfc69ec1a68f7e36cc14d6848ac2206b7b
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user