Eth api estimateGas unit test.
This commit is contained in:
parent
a413aa4da4
commit
5a9bd4f8c0
@ -404,7 +404,7 @@ class EthApiTest extends TestCase
|
|||||||
if ($err !== null) {
|
if ($err !== null) {
|
||||||
return $this->assertTrue($err !== null);
|
return $this->assertTrue($err !== null);
|
||||||
}
|
}
|
||||||
$this->assertTrue(is_string($gas));
|
$this->assertTrue(is_numeric($gas->toString()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user