From db08634723a6098b12c68935a3eea786fb59aa3d Mon Sep 17 00:00:00 2001 From: jack meng Date: Tue, 13 Jun 2023 14:36:10 +0800 Subject: [PATCH] fixed bug --- contracts/deposit/contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/deposit/contract.go b/contracts/deposit/contract.go index 32da77b..7011025 100644 --- a/contracts/deposit/contract.go +++ b/contracts/deposit/contract.go @@ -93,7 +93,7 @@ func GetDepositInfo(tx kv.Tx, addr types.Address) *Info { rewardPerBlock = new(uint256.Int).Add(rewardPerBlock, uint256.NewInt(params.Wei)) // maxRewardPerEpoch = new(uint256.Int).Mul(rewardPerBlock, uint256.NewInt(FiveHundredDepositMaxTaskPerEpoch)) - case 10: //todo + case 10, 0: //todo return nil default: panic("wrong deposit amount")