costModelKeyLength static method

int costModelKeyLength(
  1. Language language
)

Implementation

static int costModelKeyLength(Language language) {
  if (language == Language.plutusV1) {
    return 2;
  }
  return 1;
}