diff --git a/src/Methods/Eth/NewBlockFilter.php b/src/Methods/Eth/NewBlockFilter.php index 863ce2c..e9688d9 100644 --- a/src/Methods/Eth/NewBlockFilter.php +++ b/src/Methods/Eth/NewBlockFilter.php @@ -23,18 +23,14 @@ class NewBlockFilter extends EthMethod * * @var array */ - protected $validators = [ - QuantityValidator::class - ]; + protected $validators = []; /** * inputFormatters * * @var array */ - protected $inputFormatters = [ - QuantityFormatter::class - ]; + protected $inputFormatters = []; /** * outputFormatters @@ -61,4 +57,4 @@ class NewBlockFilter extends EthMethod // { // parent::__construct($method, $arguments); // } -} \ No newline at end of file +} diff --git a/test/unit/EthApiTest.php b/test/unit/EthApiTest.php index 7593fa9..600fa61 100644 --- a/test/unit/EthApiTest.php +++ b/test/unit/EthApiTest.php @@ -629,7 +629,7 @@ class EthApiTest extends TestCase { $eth = $this->eth; - $eth->newBlockFilter('0x01', function ($err, $filter) { + $eth->newBlockFilter(function ($err, $filter) { if ($err !== null) { // infura banned us to new block filter return $this->assertTrue($err !== null);