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

This commit is contained in:
Suhas Daftuar 2016-09-04 20:02:40 -04:00
parent cbe9ae8c69
commit c40b034327

View file

@ -2209,6 +2209,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;