toPolicyId method

PolicyID toPolicyId()

Implementation

PolicyID toPolicyId() {
  return PolicyID(toScript().toHash().data);
}