Browse Source

Merge #8664: Fix segwit-related wallet bug

c40b034 Clear witness with vin/vout in CWallet::CreateTransaction() (Suhas Daftuar)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
2abfe5956e
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/wallet/wallet.cpp

1
src/wallet/wallet.cpp

@ -2215,6 +2215,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt @@ -2215,6 +2215,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;

Loading…
Cancel
Save