diff --git a/webapp/controller/StakingController.class.php b/webapp/controller/StakingController.class.php index 1c2b50cc..8da02d62 100644 --- a/webapp/controller/StakingController.class.php +++ b/webapp/controller/StakingController.class.php @@ -282,17 +282,26 @@ class StakingController extends BaseAuthedController { case self::PLANET_TYPE: { if (in_array($dbInfo['token_type'], array( + Nft::PLANET_TYPE ))) { - + return true; } } break; case self::BADGE_TYPE: { - if (in_array($dbInfo['token_type'], array( - Nft::HONOR1_TYPE - ))) { - return true; + if (SERVER_ENV != _ONLINE) { + if (in_array($dbInfo['token_type'], array( + Nft::HONOR1_TYPE + ))) { + return true; + } + } else { + if (in_array($dbInfo['token_type'], array( + Nft::GENESIS_TYPE + ))) { + return true; + } } } break;