}
/**
- * Sign the block with a 32-byte private key by deriving the matching public
- * key, concatenating to create the full 64-byte secret key, and signing.
+ * Sign the block with either a full 64-byte secret key or 32-byte private key
+ * which is used to rebuild the secret key.
*
* Saves the result to the `signature` property of the block.
*
- * @param {string} [key] - 32-byte hexadecimal private key to use for signing
- * @returns {Block} this with `signature` value set
- */
- sign (key: string): Block
- /**
- * Sign the block using a 64-byte secret key.
- *
- * Saves the result to the `signature` property of the block.
- *
- * @param {string} [key] - 64-byte hexadecimal secret key to use for signing
+ * @param {string} [key] - 64- or 32-byte hexadecimal key to use for signing
* @returns {Block} this with `signature` value set
*/
sign (key: string): Block