Skip to content

Commit d070a69

Browse files
committed
fixup! [wallet] Construct CWalletTx objects in CommitTransaction
Avoid shared_ptr deserialize as suggested #9680 (comment)
1 parent f16d28c commit d070a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/walletmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran
335335
return SendCoinsReturn(TransactionCommitFailed, QString::fromStdString(state.GetRejectReason()));
336336

337337
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
338-
ssTx << **newTx;
338+
ssTx << *newTx;
339339
transaction_array.append(&(ssTx[0]), ssTx.size());
340340
}
341341

0 commit comments

Comments
 (0)