diff options
| author | Alex Morcos <[email protected]> | 2016-12-06 08:56:12 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2016-12-06 08:56:12 -0500 |
| commit | 28f8ae8adfd4c2fcf5709d77aa77484fd77f3e2c (patch) | |
| tree | 900ee71f93667ecc0e58df3a1c9f02db882a64fd /src/qt/walletmodel.cpp | |
| parent | Merge #9280: [Qt] Show ModalOverlay by pressing the progress bar, allow hiding (diff) | |
| download | discoin-28f8ae8adfd4c2fcf5709d77aa77484fd77f3e2c.tar.xz discoin-28f8ae8adfd4c2fcf5709d77aa77484fd77f3e2c.zip | |
Fix missed change to WalletTx structure
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()); } |