function decodeSchnorrSignature(signature) {
  return {
    signature: signature.slice(0, 64),
    hashType: signature.slice(64)[0] || Transaction.SIGHASH_DEFAULT,
  };
}
Decodes a Schnorr signature.
@param signature The signature to decode.
@returns The decoded Schnorr signature.