How did Lucky benefit from loss-harvesting?
Luck did not "benefit" because all of the transactions happened in the same tax year.
Here's how Lucky could have benefited:
Lucky purchases crypto at $50k
The crypto drops in value to $15k.
Lucky has other investments that gained $35k in value
Lucks sells the crypto for $15k and (after 30 days) ...