chore: unused code removed

This commit is contained in:
Sale Djenic 2022-11-08 14:21:48 +01:00 committed by saledjenic
parent 91aac3cec0
commit fdf4c05968
1 changed files with 0 additions and 5 deletions

View File

@ -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