Преглед на файлове

ethereum: improve FilterQuery comment (#18955)

HackyMiner преди 6 години
родител
ревизия
b04da9d482
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      interfaces.go

+ 3 - 3
interfaces.go

@@ -144,9 +144,9 @@ type FilterQuery struct {
 	// Examples:
 	// {} or nil          matches any topic list
 	// {{A}}              matches topic A in first position
-	// {{}, {B}}          matches any topic in first position, B in second position
-	// {{A}, {B}}         matches topic A in first position, B in second position
-	// {{A, B}, {C, D}}   matches topic (A OR B) in first position, (C OR D) in second position
+	// {{}, {B}}          matches any topic in first position AND B in second position
+	// {{A}, {B}}         matches topic A in first position AND B in second position
+	// {{A, B}, {C, D}}   matches topic (A OR B) in first position AND (C OR D) in second position
 	Topics [][]common.Hash
 }