@btc-vision/ecpair - v4.0.2
    Preparing search index...

    Function assertPrivateKey

    • Asserts that value is a valid PrivateKey (32 bytes, in [1, n)).

      Parameters

      • value: unknown

      Returns asserts value is PrivateKey

      If the assertion fails.