Use ParamsWrapper for witness serialization
This commit is contained in:
1 parent
5800c558eb
commit
6e9e4e6130
59 files changed
+226
-219
No files matched your search
@@ -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