Remove P2WPKH and P2WSH from signing logic

Separated from the previous commit for ease of review.
This commit is contained in:
Jack Grigg
2018-01-31 14:41:44 +00:00
parent 157a5d0d9c
commit e005ff83ab
6 changed files with 3 additions and 137 deletions

View File

@@ -2798,7 +2798,6 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt
if (!sign) {
BOOST_FOREACH (CTxIn& vin, txNew.vin)
vin.scriptSig = CScript();
txNew.wit.SetNull();
}
// Embed the constructed transaction data in wtxNew.