Browse Source

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

Github-Pull: #8664
Rebased-From: c40b034327
0.13
Suhas Daftuar 8 years ago committed by Luke Dashjr
parent
commit
091cdebfb8
  1. 1
      src/wallet/wallet.cpp

1
src/wallet/wallet.cpp

@ -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;

Loading…
Cancel
Save