diff --git a/go/eth-txreceipt-status.yaml b/go/eth-txreceipt-status.yaml index fb6cbcb..0f397c9 100644 --- a/go/eth-txreceipt-status.yaml +++ b/go/eth-txreceipt-status.yaml @@ -7,14 +7,11 @@ rules: severity: WARNING languages: [go] patterns: - - pattern: | + - pattern-inside: | import "github.com/ethereum/go-ethereum/core/types" ... - $RECEIVER.$FUNCTION - - metavariable-pattern: - metavariable: $FUNCTION - pattern: Status - - focus-metavariable: $FUNCTION + - pattern: | + $RECEIVER.Status metadata: category: security confidence: LOW