1
This commit is contained in:
parent
dc7cdac040
commit
9aab36c6bd
@ -51,7 +51,7 @@ class Staking extends BaseModel {
|
|||||||
$rows = self::all(myself()->_getAddress());
|
$rows = self::all(myself()->_getAddress());
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$stakingDto = self::toDto($row);
|
$stakingDto = self::toDto($row);
|
||||||
if ($stakingDto['status'] == Stacking::STAKING_STATUS) {
|
if ($stakingDto['status'] == self::STAKING_STATUS) {
|
||||||
if ($stakingDto['remain_days'] <= 0) {
|
if ($stakingDto['remain_days'] <= 0) {
|
||||||
$totalValue += $stakingDto['ceg_value'];
|
$totalValue += $stakingDto['ceg_value'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user