nuts-foundation/nuts-node

View on GitHub
vcr/holder/memory_wallet.go

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Method memoryWallet.BuildPresentation has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (m memoryWallet) BuildPresentation(ctx context.Context, credentials []vc.VerifiableCredential, options PresentationOptions, signerDID *did.DID, validateVC bool) (*vc.VerifiablePresentation, error) {
Severity: Minor
Found in vcr/holder/memory_wallet.go - About 35 mins to fix

    Method memoryWallet.BuildSubmission has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (m memoryWallet) BuildSubmission(ctx context.Context, walletDID did.DID, presentationDefinition pe.PresentationDefinition, acceptedFormats map[string]map[string][]string, params BuildParams) (*vc.VerifiablePresentation, *pe.PresentationSubmission, error) {
    Severity: Minor
    Found in vcr/holder/memory_wallet.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status