This function addReward
given below add a reward to the list of rewards but there is no way this new added reward can be utilized in the `openBox` function.
Either this addReward
function should be removed or openBox
function should be modified to modular approach so that new rewards added to should be utilized in it.
openBox
function should be modified so that it doesn't use hardcoded if condition for selecting the reward but some dynamic method that picks the winner on fly.
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.