To completely solve it there are some proposals (some requiring consensus) that change the way the channel contract is set up.
also watching nodes and not accepting channels under cerain rules helps migitae this attack.
I am not very very knowledgable in this mater, search also for yourself about this issue.