eth_filter fix lint and tests
This commit is contained in:
@@ -413,6 +413,5 @@ class Selector {
|
||||
if (other !is SameNodeMatcher) return false
|
||||
return other.upstreamHash == upstreamHash
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ class EthereumCallSelector(
|
||||
return Mono.empty()
|
||||
}
|
||||
val filterId = list[0].toString()
|
||||
if(filterId.length < 4) {
|
||||
if (filterId.length < 4) {
|
||||
return Mono.just(Selector.SameNodeMatcher(0.toByte()))
|
||||
}
|
||||
val hashHex = filterId.substring(filterId.length - 2)
|
||||
|
||||
Reference in New Issue
Block a user