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

Github-Pull: #8664
Rebased-From: c40b034327
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; nChangePosInOut = nChangePosRequest;
txNew.vin.clear(); txNew.vin.clear();
txNew.vout.clear(); txNew.vout.clear();
txNew.wit.SetNull();
wtxNew.fFromMe = true; wtxNew.fFromMe = true;
bool fFirst = true; bool fFirst = true;