Clear witness with vin/vout in CWallet::CreateTransaction()

Github-Pull: #8664
Rebased-From: c40b034327bf8a30d3af1eeeef84bc4ccd57e685
This commit is contained in:
Suhas Daftuar 2016-09-04 20:02:40 -04:00 committed by Luke Dashjr
parent 8e03382279
commit 091cdebfb8

View File

@ -2202,6 +2202,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt
nChangePosInOut = nChangePosRequest;
txNew.vin.clear();
txNew.vout.clear();
txNew.wit.SetNull();
wtxNew.fFromMe = true;
bool fFirst = true;