The Lightning Network is susceptible to attacks that could drain Bitcoin wallets by flooding the blockchain.