func clearWalletState(w *lnwallet.LightningWallet) error { w.ResetReservations() return w.ChannelDB.Wipe() }