8000 Default period for pool txs/ops decreased. · etherscan-io/Ethplorer@ebef922 · GitHub
[go: up one dir, main page]

Skip to content

Commit ebef922

Browse files
committed
Default period for pool txs/ops decreased.
1 parent 1b0b37d commit ebef922

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ public function getPoolAddresses(){
597597
public function getPoolLastTransactions(){
598598
$result = array();
599599
$poolId = $this->getRequest('poolId', FALSE);
600-
$period = max(min(abs((int)$this->getRequest('period', 86400)), 864000), 1);
600+
$period = max(min(abs((int)$this->getRequest('period', 600)), 864000), 1);
601601
if($poolId){
602602
$result = $this->db->getPoolLastTransactions($poolId, $period);
603603
}
@@ -613,7 +613,7 @@ public function getPoolLastTransactions(){
613613
public function getPoolLastOperations(){
614614
$result = array();
615615
$poolId = $this->getRequest('poolId', FALSE);
616-
$period = max(min(abs((int)$this->getRequest('period', 86400)), 864000), 1);
616+
$period = max(min(abs((int)$this->getRequest('period', 600)), 864000), 1);
617617
if($poolId){
618618
$result = $this->db->getPoolLastOperations($poolId, $period);
619619
}

0 commit comments

Comments
 (0)
0