XRP Ledger Patches Flaw That Could Drain User Funds