The natspec description of the withdraw function says that tokenAddress is nativeToken, the _transfer function should send the tokens from capitalPool to the msgsender, but it is actually sent from capitalPool to the tokenManager address itself.
It is only transferred from capitalPool to the sender if tokenAddress is an ERC20 token that differs from nativeToken.
For anyone reading the protocol code, it may be confused with natspec
Manual Review
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.