synapsecns/sanguine

View on GitHub
ethergo/signer/wallet/import.go

Summary

Maintainability
A
35 mins
Test Coverage

Function FromRandom has 5 return statements (exceeds 4 allowed).
Open

func FromRandom() (Wallet, error) {
    newSeed, err := hdwallet.NewSeed()
    if err != nil {
        return nil, fmt.Errorf("could not generate seed: %w", err)
    }
Severity: Major
Found in ethergo/signer/wallet/import.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status