Skip to content

Commit

Permalink
Merge bitcoin#9296: Fix missed change to WalletTx structure
Browse files Browse the repository at this point in the history
28f8ae8 Fix missed change to WalletTx structure (Alex Morcos)
  • Loading branch information
laanwj authored and CryptoCentric committed Feb 25, 2019
1 parent 4f6119c commit 5ff0302
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/qt/walletmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,8 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran
if(!wallet->CommitTransaction(*newTx, *keyChange, g_connman.get(), state, recipients[0].fUseInstantSend ? NetMsgType::TXLOCKREQUEST : NetMsgType::TX))
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());
}

Expand Down

0 comments on commit 5ff0302

Please sign in to comment.