mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-26 14:59:16 +02:00
Use Txid in COutpoint
This commit is contained in:
@@ -672,7 +672,7 @@ void FundTransaction(CWallet& wallet, CMutableTransaction& tx, CAmount& fee_out,
|
||||
|
||||
if (options.exists("input_weights")) {
|
||||
for (const UniValue& input : options["input_weights"].get_array().getValues()) {
|
||||
uint256 txid = ParseHashO(input, "txid");
|
||||
Txid txid = Txid::FromUint256(ParseHashO(input, "txid"));
|
||||
|
||||
const UniValue& vout_v = input.find_value("vout");
|
||||
if (!vout_v.isNum()) {
|
||||
|
||||
Reference in New Issue
Block a user