Closed dustinxie closed 5 days ago
Failed conditions
5.9% Duplication on New Code (required ≤ 3%)
address
to action ClaimFromRewardingFund
, and the purpose is to help other accounts to claim rewards (not claiming rewards to some other accounts).claimTo
is just a parameter name, which may be confusing. a better naming for this parameter is claimFrom
.
Description
4277 added a
claimTo
field to receive claim reward, so other EOA can help claim reward on another's behalf.move the address check from inside
protocol.Handle
to the action'sLoadProto()
andSanityCheck()
, which is consistent with other action's behaviorFixes #(issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: