diff options
author | Suhas Daftuar <sdaftuar@chaincode.com> | 2016-09-04 20:02:40 -0400 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2016-09-21 02:43:47 +0000 |
commit | 091cdebfb823734559f9694c4c45eba1598b05ff (patch) | |
tree | dd1c54f68cd81e4ffee0b5a39e8c5f41d2850cf4 | |
parent | 8e0338227979eb619da2dcacc505f4f229b67da0 (diff) |
Clear witness with vin/vout in CWallet::CreateTransaction()
Github-Pull: #8664
Rebased-From: c40b034327bf8a30d3af1eeeef84bc4ccd57e685
-rw-r--r-- | src/wallet/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index e5ee5063a5..32a01d2db0 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2202,6 +2202,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; |