fix build

This commit is contained in:
Aarsh Shah 2021-09-21 15:23:01 +04:00
parent 89ac8b09b5
commit a80bc34d59

View File

@ -564,7 +564,7 @@ func makeHostKey(lr repo.LockedRepo) (crypto.PrivKey, error) {
return nil, err return nil, err
} }
kbytes, err := pk.Bytes() kbytes, err := crypto.MarshalPrivateKey(pk)
if err != nil { if err != nil {
return nil, err return nil, err
} }