Skip to content

Commit 026cff8

Browse files
committed
accounts: remove UpdateAccount and last usages
1 parent d458242 commit 026cff8

File tree

3 files changed

+175
-212
lines changed

3 files changed

+175
-212
lines changed

accounts/interface.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,6 @@ type Store interface {
207207
expirationDate time.Time, label string) (
208208
*OffChainBalanceAccount, error)
209209

210-
// UpdateAccount writes an account to the database, overwriting the
211-
// existing one if it exists.
212-
UpdateAccount(ctx context.Context,
213-
account *OffChainBalanceAccount) error
214-
215210
// Account retrieves an account from the Store and un-marshals it. If
216211
// the account cannot be found, then ErrAccNotFound is returned.
217212
Account(ctx context.Context, id AccountID) (*OffChainBalanceAccount,

0 commit comments

Comments
 (0)