Cashu-TS - v4.12.0
    Preparing search index...

    Function assertSecpPoint

    • Internal

      Reparses a point as secp256k1, for entry points that take the structural point type.

      Parameters

      • point: WeierstrassPoint<bigint>

      Returns WeierstrassPoint<bigint>

      WeierstrassPoint<bigint> is shared with the other curves and scalar multiplication does not check membership, so a point that never went through a secp parser has to be sent through one.

      CTSError If the point is not a secp256k1 point.