convertToPublic method

void convertToPublic()

Convert this Substrate context to public-only mode.

Removes the private key, making this context only contain a public key.

Implementation

void convertToPublic() {
  _priveKey = null;
}