Fix value sql interface
a_bennassar arnaubennassar5@gmail.com
Fri, 14 Aug 2020 12:32:15 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
babyjub/eddsa.go
→
babyjub/eddsa.go
@@ -193,7 +193,7 @@ return err
} // Value implements valuer for database/sql. -func (s *Signature) Value() (driver.Value, error) { +func (s Signature) Value() (driver.Value, error) { comp := s.Compress() return comp[:], nil }@@ -304,7 +304,7 @@ return nil
} // Value implements valuer for database/sql. -func (p *PublicKey) Value() (driver.Value, error) { +func (p PublicKey) Value() (driver.Value, error) { comp := p.Compress() return comp[:], nil }