diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-09 12:24:30 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-09 12:24:39 +0200 |
commit | 2abfe5956eef4b738406e9f06049a11cc6f2773f (patch) | |
tree | 641c1b3d115a7853ba0c80a90f17c248a5522fe6 /src/wallet/wallet.cpp | |
parent | 6423116741de2144872389cf63a621539ae79aaa (diff) | |
parent | c40b034327bf8a30d3af1eeeef84bc4ccd57e685 (diff) |
Merge #8664: Fix segwit-related wallet bug
c40b034 Clear witness with vin/vout in CWallet::CreateTransaction() (Suhas Daftuar)
Diffstat (limited to 'src/wallet/wallet.cpp')
-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 60ac2ea166..a8ef6d9511 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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; |