Ledger deletion functionality