Eth api estimateGas unit test.

This commit is contained in:
sc0Vu 2018-01-12 16:00:02 +08:00
parent a413aa4da4
commit 5a9bd4f8c0

View File

@ -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()));
}); });
} }