The current implementation does not support the OR-condition filter which is required by the RPC

{{A, B}, {C, D}}   matches topic (A OR B) in first position, (C OR D) in second position
This commit is contained in:
TanakaFairwayCorp 2019-01-15 13:38:50 +09:00 committed by GitHub
parent 1636d9574b
commit 69658eccb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ type FilterQuery struct {
// {{}, {B}} matches any topic in first position, B in second 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 // {{A, B}, {C, D}} matches topic (A OR B) in first position, (C OR D) in second position
Topics [][]common.Hash Topics [][]*common.Hash
} }
// LogFilterer provides access to contract log events using a one-off query or continuous // LogFilterer provides access to contract log events using a one-off query or continuous