stream owner is not able to withdrawMax in whichever address he wants due to hard coded address parameter in withdrawMaxAndTransfer() function.
A stream owner can call withdrawMaxAndTransfer() function when we wants to withdraw the funds he has accumulate and also transfer the stream in the same address. However, since he the owner of the stream, he has the option according to natsec to withdraw the money to whichever address he wants. In withdrawMaxAndTransfer(), it is hardcoded so to he is the one receiving the money falsely.
Manual review
Consider adding a to parameter to withdrawMaxAndTransfer() function so the stream owner can specify the address he wants to transfer the stream to :
https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity
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.