mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Use ParamsWrapper for witness serialization
This commit is contained in:
@@ -260,8 +260,8 @@ void WalletModel::sendCoins(WalletModelTransaction& transaction)
|
||||
auto& newTx = transaction.getWtx();
|
||||
wallet().commitTransaction(newTx, /*value_map=*/{}, std::move(vOrderForm));
|
||||
|
||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||
ssTx << *newTx;
|
||||
DataStream ssTx;
|
||||
ssTx << TX_WITH_WITNESS(*newTx);
|
||||
transaction_array.append((const char*)ssTx.data(), ssTx.size());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user