delegation: minor fix around meta

This commit is contained in:
Michael Muré
2024-11-06 16:43:57 +01:00
parent 41b8600fbc
commit c9f3a6033a
2 changed files with 5 additions and 4 deletions

View File

@@ -79,10 +79,6 @@ func New(privKey crypto.PrivKey, aud did.DID, cmd command.Command, pol policy.Po
}
}
if len(tkn.meta.Keys) < 1 {
tkn.meta = nil
}
if err := tkn.validate(); err != nil {
return nil, err
}