In transferAndCallFrom()
params in StakingPool#_updateStrategyRewards()
, "0x"
is passed. This is invalid value - if empty value was about to be used, it should be empty string: ""
.
"0x" literally is passed as byte array of length 2 with 0 and x. It should be empty string: ""
. While this might not seem to matter, the transfer is done to arbitrary address of receivers[i][j]
, so there's no guarantee how they will behave in case of non-zero length data input. This may even, in rare cases lead to reverts and DoS the rewards.
Wrong value passed as empty to transferAndCallFrom()
, which may impact some receivers that expect either empty data, or encoded value.
Manual review
Change byte data in transferAndCallFrom()
to empty array:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.