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

pull/308/head
Suhas Daftuar 8 years ago
parent cbe9ae8c69
commit c40b034327

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

Loading…
Cancel
Save