From fdf4c0596865bd3b08de3bfc4f94abac18b66b2c Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Tue, 8 Nov 2022 14:21:48 +0100 Subject: [PATCH] chore: unused code removed --- multiaccounts/accounts/database.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/multiaccounts/accounts/database.go b/multiaccounts/accounts/database.go index 9ed28ff95..52764fe4b 100644 --- a/multiaccounts/accounts/database.go +++ b/multiaccounts/accounts/database.go @@ -251,11 +251,6 @@ func (db *Database) DeleteAccount(address types.Address) error { return err } -func (db *Database) DeleteSeedAndKeyAccounts() error { - _, err := db.db.Exec("DELETE FROM accounts WHERE type = ? OR type = ?", AccountTypeSeed, AccountTypeKey) - return err -} - func (db *Database) GetWalletAddress() (rst types.Address, err error) { err = db.db.QueryRow("SELECT address FROM accounts WHERE wallet = 1").Scan(&rst) return