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 andvgal committed Dec 24, 2018
1 parent dafda43 commit 79a2e56
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 @@ -386,9 +386,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 79a2e56

Please sign in to comment.