Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fyannch committed Oct 31, 2024
1 parent 7181e43 commit 11fa03f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contract/Forest/ForestContract_Tree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public override Empty ClaimTreePoints(ClaimTreePointsInput input)
Assert(input.Reward != null && !string.IsNullOrEmpty(input.Reward.Symbol) && input.Reward.Amount > 0, "Param Address is not Sender");
Assert(Context.Sender == input.Address, "Param Address is not Sender");

var requestStr = string.Concat(input.Address, input.Points, input.PointsType, input.OpTime, input.ActivityId, input.Reward.Symbol, input.Reward.Amount);
var requestStr = string.Concat(input.Address, input.Points, input.PointsType, input.OpTime);
requestStr = string.Concat(requestStr, input.ActivityId, input.Reward.Symbol, input.Reward.Amount);
CheckPointsRequestHash(requestStr, input.RequestHash);

var lastOpTime = State.TreePointsActivityClaimTimeMap[input.Address][input.ActivityId];
Expand Down

0 comments on commit 11fa03f

Please sign in to comment.