nuts-foundation/nuts-node

View on GitHub
vdr/didnuts/ambassador.go

Summary

Maintainability
A
1 hr
Test Coverage
C
71%

Method ambassador.handleUpdateDIDDocument has 66 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (n *ambassador) handleUpdateDIDDocument(transaction dag.Transaction, proposedDIDDocument did.Document) error {
    log.Logger().
        WithField(core.LogFieldTransactionRef, transaction.Ref()).
        WithField(core.LogFieldDID, proposedDIDDocument.ID).
        Debug("Handling DID document update")
Severity: Minor
Found in vdr/didnuts/ambassador.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status