From 428755c5a68cba53624e0bae09be817c3584d2ec Mon Sep 17 00:00:00 2001 From: Mohanson Date: Tue, 29 May 2018 15:14:56 +0800 Subject: [PATCH] interfaces: fix a typo in FilterQuery{} The example of "matches topic A in first position, B in second position" should be {{A}, {B}} --- interfaces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces.go b/interfaces.go index 1ae1eba48a..a8b48c93d7 100644 --- a/interfaces.go +++ b/interfaces.go @@ -144,7 +144,7 @@ type FilterQuery struct { // {} 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}} 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 Topics [][]common.Hash }