signHash

open override fun signHash(hash: Hash256, addr: PayAddress?): ByteArray
open override fun signHash(hash: ByteArray, addr: PayAddress?): ByteArray

Sign (using blockchain compatible Schnorr) the provided data with the provided address (this wallet must have the private key for that address), or pass null to use the common identity.

Throws