in _resolve_inputs, reset iterator on inputs_definition hash so that we correctly fail if one of many input types does not resolve
corrected adaptor_hash definition to avoid transaction failures