Ed25519PoolKeyHash.fromPubkey constructor

Ed25519PoolKeyHash.fromPubkey(
  1. List<int> pubKeyBytes
)

Constructor to create an Ed25519PoolKeyHash from a public key bytes.

Implementation

Ed25519PoolKeyHash.fromPubkey(List<int> pubKeyBytes)
  : super(
      AdaAddressUtils.publicKeyToHash(pubKeyBytes),
      AdaTransactionConstant.blake2b224DigestSize,
    );