small fix in filter tests
This commit is contained in:
parent
9f073d9091
commit
b78dffaf8b
|
@ -72,7 +72,7 @@ var getOptions = function (options) {
|
|||
}
|
||||
|
||||
var asBlockNumber = function (n) {
|
||||
if (n === null) {
|
||||
if (n === null || typeof n === 'undefined') {
|
||||
return null;
|
||||
} else if (n === 'latest' || n === 'pending') {
|
||||
return n;
|
||||
|
|
Loading…
Reference in New Issue