Submitted by davidbrai, also found by bin2chen, Ch_301, Chom, cryptphi, pashov, and PwnPatrol
ERC721Votes.sol#L179-L190
Assuming an existing bug in the _delegate function is fixed (see my previous issue submission titled Delegating votes leaves the token owner with votes while giving the delegate additional votes):
if a user delegates to address(0) that vote gets lost.
Assuming the _delegate function gets patched by changing:
address prevDelegate = delegation[_from];
to
address prevDelegate = delegates(_from);
The steps to be taken:
Below is a forge test showing the issue:
Either:
Alex the Entreprenerd (judge) decreased severity to Medium and commented:
tbtstl (Nouns Builder) confirmed
