From ae7161dba08b6d353e525474e0c0ad449fe97c8b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 28 Aug 2023 16:59:11 +0800 Subject: [PATCH] 1 --- webapp/controller/StakingController.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/controller/StakingController.class.php b/webapp/controller/StakingController.class.php index 79fcc692..eded0a8c 100644 --- a/webapp/controller/StakingController.class.php +++ b/webapp/controller/StakingController.class.php @@ -153,6 +153,10 @@ class StakingController extends BaseAuthedController { } } } + if (count($checkList) != count($confirmedNfts)) { + myself()->_rspErr(3, 'paramater error'); + return; + } } private function isTypeNft($type, $dbInfo)