Skip to content

Commit

Permalink
accounts: remove UpdateAccount and last usages
Browse files Browse the repository at this point in the history
  • Loading branch information
ellemouton committed Jan 21, 2025
1 parent d458242 commit 026cff8
Show file tree
Hide file tree
Showing 3 changed files with 175 additions and 212 deletions.
5 changes: 0 additions & 5 deletions accounts/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,6 @@ type Store interface {
expirationDate time.Time, label string) (
*OffChainBalanceAccount, error)

// UpdateAccount writes an account to the database, overwriting the
// existing one if it exists.
UpdateAccount(ctx context.Context,
account *OffChainBalanceAccount) error

// Account retrieves an account from the Store and un-marshals it. If
// the account cannot be found, then ErrAccNotFound is returned.
Account(ctx context.Context, id AccountID) (*OffChainBalanceAccount,
Expand Down
Loading

0 comments on commit 026cff8

Please sign in to comment.