mirror of
https://github.com/status-im/status-go.git
synced 2025-02-18 01:37:22 +00:00
chore: unused code removed
This commit is contained in:
parent
91aac3cec0
commit
fdf4c05968
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user