Skip to content

confusing comments on createFromPublicKey #1

@cfcodefans

Description

@cfcodefans

/**
* Create from private key
* @param publicKey - The account private key.
* @param networkType - The NEM network type.
* @returns {Address}
*/
static createFromPublicKey(publicKey: string, networkType: NetworkType): Address;

the name of parameter suggests "public", but the comment says private

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions