toP2pkAddress method

P2pkAddress toP2pkAddress({
  1. bool compressed = true,
})

Implementation

P2pkAddress toP2pkAddress({bool compressed = true}) {
  final h = toHex(compressed: compressed);
  return P2pkAddress(publicKey: h);
}