aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-06 15:41:15 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-06 15:41:43 +0100
commitfde7d99c4d7d95e243bb18bb5ed49b864d3b58e7 (patch)
tree900ee71f93667ecc0e58df3a1c9f02db882a64fd /src
parente15660c16f753d7be671526a988e29b88c3fd2da (diff)
parent28f8ae8adfd4c2fcf5709d77aa77484fd77f3e2c (diff)
Merge #9296: Fix missed change to WalletTx structure
28f8ae8 Fix missed change to WalletTx structure (Alex Morcos)
Diffstat (limited to 'src')
-rw-r--r--src/qt/walletmodel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index a78fc90d2c..afc72fae69 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -335,9 +335,8 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran
if(!wallet->CommitTransaction(*newTx, *keyChange, g_connman.get(), state))
return SendCoinsReturn(TransactionCommitFailed, QString::fromStdString(state.GetRejectReason()));
- CTransaction* t = (CTransaction*)newTx;
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
- ssTx << *t;
+ ssTx << *newTx->tx;
transaction_array.append(&(ssTx[0]), ssTx.size());
}