commit
8a34582d23
@ -23,18 +23,14 @@ class NewBlockFilter extends EthMethod
|
|||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $validators = [
|
protected $validators = [];
|
||||||
QuantityValidator::class
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* inputFormatters
|
* inputFormatters
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $inputFormatters = [
|
protected $inputFormatters = [];
|
||||||
QuantityFormatter::class
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* outputFormatters
|
* outputFormatters
|
||||||
|
@ -629,7 +629,7 @@ class EthApiTest extends TestCase
|
|||||||
{
|
{
|
||||||
$eth = $this->eth;
|
$eth = $this->eth;
|
||||||
|
|
||||||
$eth->newBlockFilter('0x01', function ($err, $filter) {
|
$eth->newBlockFilter(function ($err, $filter) {
|
||||||
if ($err !== null) {
|
if ($err !== null) {
|
||||||
// infura banned us to new block filter
|
// infura banned us to new block filter
|
||||||
return $this->assertTrue($err !== null);
|
return $this->assertTrue($err !== null);
|
||||||
|
Loading…
Reference in New Issue
Block a user