aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-09 12:24:30 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-09 12:24:39 +0200
commit2abfe5956eef4b738406e9f06049a11cc6f2773f (patch)
tree641c1b3d115a7853ba0c80a90f17c248a5522fe6 /src/wallet
parent6423116741de2144872389cf63a621539ae79aaa (diff)
parentc40b034327bf8a30d3af1eeeef84bc4ccd57e685 (diff)
Merge #8664: Fix segwit-related wallet bug
c40b034 Clear witness with vin/vout in CWallet::CreateTransaction() (Suhas Daftuar)
Diffstat (limited to 'src/wallet')
-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 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;