commit
8a34582d23
@ -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);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user