diff options
author | Suhas Daftuar <sdaftuar@chaincode.com> | 2016-09-04 20:02:40 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@chaincode.com> | 2016-09-04 20:09:13 -0400 |
commit | c40b034327bf8a30d3af1eeeef84bc4ccd57e685 (patch) | |
tree | 6d0af4d8d378cd9c5116d9c1c8a7d76bed539824 | |
parent | cbe9ae8c69b947c8cdff2e0fbf5b57c9aa09b770 (diff) |
Clear witness with vin/vout in CWallet::CreateTransaction()
-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 10aca2e499..78d6258297 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; |