Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackmeng1985 committed Jun 13, 2023
1 parent 11373f2 commit db08634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/deposit/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit db08634

Please sign in to comment.