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
1 changed files with 1 additions and 0 deletions

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;