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

This commit is contained in:
Suhas Daftuar committed 2016-09-04 20:09:13 -04:00
1 parent cbe9ae8c69
commit c40b034327
1 file changed
+1
+1
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;