Skip to content

Commit 159b248

Browse files
committed
Get operations in list even they have only one involved address
1 parent c60a004 commit 159b248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/lib/ethplorer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ public function getLastTransfers(array $options = array()){
493493
$search['contract'] = $options['address'];
494494
}
495495
if(isset($options['address']) && isset($options['history'])){
496-
$search['$or'] = array(array('from' => $options['address']), array('to' => $options['address']));
496+
$search['$or'] = array(array('from' => $options['address']), array('to' => $options['address']), array('address' => $options['address']));
497497
}
498498

499499
if(isset($options['token']) && isset($options['history'])){

0 commit comments

Comments
 (0)