The withdrawPlatformFees
function might withdraw fees that do not belong to the owner. This could result in the node having no fees to withdraw.
Background:
When distributing fees to node nodes, the process is done through approve rather than direct transfer.
The withdrawPlatformFees
function withdraws all funds from the contract, including funds that have not been claimed by the nodes. The owner cannot ensure that each node withdraws their funds in a timely manner.
This means that even though nodes have authorization, there may not be enough funds for them to withdraw.
manual
To record the amount of platform fees and only withdraw the platform fees.
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.