aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-06 18:09:14 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-06 18:09:14 +0800
commitcfa75ed36c47a1180f338bf52c8c91544bcd8a9d (patch)
tree06fbcde8eb744a3e58ccad941c9768637738643b /src/utils
parent498cf5333dbd6990d156926b80016bf4fc7b473c (diff)
downloaddexon-sol-tools-cfa75ed36c47a1180f338bf52c8c91544bcd8a9d.tar
dexon-sol-tools-cfa75ed36c47a1180f338bf52c8c91544bcd8a9d.tar.gz
dexon-sol-tools-cfa75ed36c47a1180f338bf52c8c91544bcd8a9d.tar.bz2
dexon-sol-tools-cfa75ed36c47a1180f338bf52c8c91544bcd8a9d.tar.lz
dexon-sol-tools-cfa75ed36c47a1180f338bf52c8c91544bcd8a9d.tar.xz
dexon-sol-tools-cfa75ed36c47a1180f338bf52c8c91544bcd8a9d.tar.zst
dexon-sol-tools-cfa75ed36c47a1180f338bf52c8c91544bcd8a9d.zip
Add a comment
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/filter_utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/filter_utils.ts b/src/utils/filter_utils.ts
index 2bd745815..c056467c7 100644
--- a/src/utils/filter_utils.ts
+++ b/src/utils/filter_utils.ts
@@ -43,6 +43,7 @@ export const filterUtils = {
continue;
}
if (_.isUndefined(indexFilterValues[eventInput.name])) {
+ // Null is a wildcard topic in a JSON-RPC call
topics.push(null);
} else {
const value = indexFilterValues[eventInput.name] as string;