rifle/gun owners - legal question

i just bought a 30 round mag for my .22LR a few months ago…