mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
Fix missed change to WalletTx structure
This commit is contained in:
parent
e15660c16f
commit
28f8ae8adf
@ -335,9 +335,8 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran
|
|||||||
if(!wallet->CommitTransaction(*newTx, *keyChange, g_connman.get(), state))
|
if(!wallet->CommitTransaction(*newTx, *keyChange, g_connman.get(), state))
|
||||||
return SendCoinsReturn(TransactionCommitFailed, QString::fromStdString(state.GetRejectReason()));
|
return SendCoinsReturn(TransactionCommitFailed, QString::fromStdString(state.GetRejectReason()));
|
||||||
|
|
||||||
CTransaction* t = (CTransaction*)newTx;
|
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << *t;
|
ssTx << *newTx->tx;
|
||||||
transaction_array.append(&(ssTx[0]), ssTx.size());
|
transaction_array.append(&(ssTx[0]), ssTx.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user