const auto sighash = to_sighash_enum(sighash_type);
if (input_index >= tx.inputs().size() ||
(input_index >= tx.outputs().size() &&
sighash == sighash_algorithm::single))
{
//*********************************************************************
// CONSENSUS: wacky satoshi behavior.
//*********************************************************************
return one_hash;
}Looks like the default params get me to the 'unversioned' signature algorithm, which has this gem 😛