isInvalidHrp method

bool isInvalidHrp(
  1. String hrp
)

Implementation

bool isInvalidHrp(String hrp) {
  return hrp != 'bc' &&
      hrp != 'tb' &&
      hrp != 'pc' &&
      hrp != 'tpc' &&
      hrp != 'pcrt';
}