nuts-foundation/nuts-node

View on GitHub
auth/services/notary/notary.go

Summary

Maintainability
A
0 mins
Test Coverage
B
83%

Function NewNotary has 6 arguments (exceeds 4 allowed). Consider refactoring.
Wontfix

func NewNotary(config Config, vcr vcr.VCR, keyResolver resolver.KeyResolver, keyStore crypto.KeyStore, jsonldManager jsonld.JSONLD, pkiValidator pki.Validator) services.ContractNotary {
Severity: Minor
Found in auth/services/notary/notary.go - About 45 mins to fix

    Method notary.DrawUpContract has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

    func (n *notary) DrawUpContract(ctx context.Context, template contract.Template, orgID did.DID, validFrom time.Time, validDuration time.Duration, organizationCredential *vc.VerifiableCredential) (*contract.Contract, error) {
    Severity: Minor
    Found in auth/services/notary/notary.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status