mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-20 04:21:37 +02:00
multi: add tag option to SignMessageSchnorr
This commit is contained in:
@@ -633,7 +633,7 @@ func (s *Server) SignMessage(_ context.Context,
|
||||
if in.SchnorrSig {
|
||||
sig, err := s.cfg.KeyRing.SignMessageSchnorr(
|
||||
keyLocator, in.Msg, in.DoubleHash,
|
||||
in.SchnorrSigTapTweak,
|
||||
in.SchnorrSigTapTweak, in.Tag,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("can't sign the hash: %v", err)
|
||||
|
Reference in New Issue
Block a user