From 79d79417bff9d3e16cc9dda99f8f2fcdb1c18753 Mon Sep 17 00:00:00 2001 From: toknsiT Date: Thu, 15 Aug 2019 13:05:16 +0800 Subject: [PATCH] change default pending to latest --- src/Contract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contract.php b/src/Contract.php index 946d863..0773406 100644 --- a/src/Contract.php +++ b/src/Contract.php @@ -109,7 +109,7 @@ class Contract * @param string|\stdClass|array $abi * @return void */ - public function __construct($provider, $abi, $defaultBlock = 'pending') + public function __construct($provider, $abi, $defaultBlock = 'latest') { if (is_string($provider) && (filter_var($provider, FILTER_VALIDATE_URL) !== false)) { // check the uri schema