aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2016-09-04 20:02:40 -0400
committerSuhas Daftuar <[email protected]>2016-09-04 20:09:13 -0400
commitc40b034327bf8a30d3af1eeeef84bc4ccd57e685 (patch)
tree6d0af4d8d378cd9c5116d9c1c8a7d76bed539824 /src/wallet/wallet.cpp
parentMerge #8466: [Trivial] Do not shadow variables in networking code (diff)
downloaddiscoin-c40b034327bf8a30d3af1eeeef84bc4ccd57e685.tar.xz
discoin-c40b034327bf8a30d3af1eeeef84bc4ccd57e685.zip
Clear witness with vin/vout in CWallet::CreateTransaction()
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 10aca2e49..78d625829 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -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;