return pubkey from signature data
This commit is contained in:
parent
82fd80e88b
commit
72d8e3de8b
|
@ -51,6 +51,10 @@ func ParseSignature(message, resp []byte) (*Signature, error) {
|
|||
}, nil
|
||||
}
|
||||
|
||||
func (s *Signature) PubKey() []byte {
|
||||
return s.pubKey
|
||||
}
|
||||
|
||||
func (s *Signature) R() []byte {
|
||||
return s.r
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue