Black money is held as assets, not cash
Illicit wealth is mostly stored as real estate, gold, foreign holdings and business assets, with cash being only a small fraction at any moment. A cash-voiding measure therefore hits the stock of currency rather than the stock of undeclared wealth. Most of the demonetised notes were later returned to banks, which is consistent with this argument.
