Browse Source

Merge #9296: Fix missed change to WalletTx structure

28f8ae8 Fix missed change to WalletTx structure (Alex Morcos)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
fde7d99c4d
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      src/qt/walletmodel.cpp

3
src/qt/walletmodel.cpp

@ -335,9 +335,8 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran @@ -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());
}

Loading…
Cancel
Save