We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411315d commit a418c58Copy full SHA for a418c58
service/lib/ethplorer.php
@@ -369,7 +369,7 @@ public function getContract($address){
369
$result = $cursor->hasNext() ? $cursor->getNext() : false;
370
if($result){
371
unset($result["_id"]);
372
- $result['txsCount'] = $this->dbs['transactions']->count(array("to" => $address));
+ $result['txsCount'] = $this->dbs['transactions']->count(array("to" => $address)) + 1;
373
if($this->isChainyAddress($address)){
374
$result['isChainy'] = true;
375
}
0 commit comments