multi: add tag option to SignMessageSchnorr

This commit is contained in:
Orbital committed 2023-10-30 21:39:39 -05:00
1 parent dd81edd817
commit ed373baed0
5 files changed
+23 -13

No files matched your search

+2 -2
View File
@@ -239,8 +239,8 @@ type MessageSignerRing interface {
// hashing it first, with the private key described in the key locator
// and the optional Taproot tweak applied to the private key.
SignMessageSchnorr(keyLoc KeyLocator, msg []byte,
doubleHash bool, taprootTweak []byte) (*schnorr.Signature,
error)
doubleHash bool, taprootTweak []byte,
tag []byte) (*schnorr.Signature, error)
}
// SingleKeyMessageSigner is an abstraction interface that hides the