diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-12-06 15:41:15 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-12-06 15:41:43 +0100 |
| commit | fde7d99c4d7d95e243bb18bb5ed49b864d3b58e7 (patch) | |
| tree | 900ee71f93667ecc0e58df3a1c9f02db882a64fd /src/qt/walletmodel.cpp | |
| parent | Merge #9280: [Qt] Show ModalOverlay by pressing the progress bar, allow hiding (diff) | |
| parent | Fix missed change to WalletTx structure (diff) | |
| download | discoin-fde7d99c4d7d95e243bb18bb5ed49b864d3b58e7.tar.xz discoin-fde7d99c4d7d95e243bb18bb5ed49b864d3b58e7.zip | |
Merge #9296: Fix missed change to WalletTx structure
28f8ae8 Fix missed change to WalletTx structure (Alex Morcos)
Diffstat (limited to 'src/qt/walletmodel.cpp')
| -rw-r--r-- | src/qt/walletmodel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index a78fc90d2..afc72fae6 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()); } |