mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-29 09:55:49 +02:00
doc: Fix incorrect C++ named args
This commit is contained in:
@@ -1010,7 +1010,7 @@ static RPCHelpMan submitblock()
|
||||
bool new_block;
|
||||
auto sc = std::make_shared<submitblock_StateCatcher>(block.GetHash());
|
||||
RegisterSharedValidationInterface(sc);
|
||||
bool accepted = chainman.ProcessNewBlock(Params(), blockptr, /* fForceProcessing */ true, /* fNewBlock */ &new_block);
|
||||
bool accepted = chainman.ProcessNewBlock(Params(), blockptr, /*force_processing=*/true, /*new_block=*/&new_block);
|
||||
UnregisterSharedValidationInterface(sc);
|
||||
if (!new_block && accepted) {
|
||||
return "duplicate";
|
||||
|
||||
@@ -1619,7 +1619,7 @@ static RPCHelpMan utxoupdatepsbt()
|
||||
}
|
||||
}
|
||||
// We don't actually need private keys further on; hide them as a precaution.
|
||||
HidingSigningProvider public_provider(&provider, /* nosign */ true, /* nobip32derivs */ false);
|
||||
HidingSigningProvider public_provider(&provider, /*hide_secret=*/true, /*hide_origin=*/false);
|
||||
|
||||
// Fetch previous transactions (inputs):
|
||||
CCoinsView viewDummy;
|
||||
@@ -1658,7 +1658,7 @@ static RPCHelpMan utxoupdatepsbt()
|
||||
// Update script/keypath information using descriptor data.
|
||||
// Note that SignPSBTInput does a lot more than just constructing ECDSA signatures
|
||||
// we don't actually care about those here, in fact.
|
||||
SignPSBTInput(public_provider, psbtx, i, &txdata, /* sighash_type */ 1);
|
||||
SignPSBTInput(public_provider, psbtx, i, &txdata, /*sighash=*/1);
|
||||
}
|
||||
|
||||
// Update script/keypath information using descriptor data.
|
||||
|
||||
Reference in New Issue
Block a user