Skip to content

Commit

Permalink
Marshal by Raw()
Browse files Browse the repository at this point in the history
  • Loading branch information
bahner committed Apr 22, 2024
1 parent 8cde34c commit fa12d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion key/set/packer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func (ks *Keyset) MarshalToCBOR() ([]byte, error) {
identityBytes, err := crypto.MarshalPrivateKey(ks.Identity)
identityBytes, err := ks.Identity.Raw()
if err != nil {
return nil, fmt.Errorf("marshal identity key: %w", err)
}
Expand Down

0 comments on commit fa12d98

Please sign in to comment.