diff --git a/models/profile.go b/models/profile.go deleted file mode 100644 index d698318..0000000 --- a/models/profile.go +++ /dev/null @@ -1,18 +0,0 @@ -package models - -type Profile struct { - ProfileItems []string - Max int -} - -func (p *Profile) InsertOrShift(index int, value string) { - if index < len(p.ProfileItems) { - p.ProfileItems = append(p.ProfileItems[:index], value) - } else { - for len(p.ProfileItems) < index { - p.ProfileItems = append(p.ProfileItems, "0") - } - p.ProfileItems = append(p.ProfileItems, "0") - p.ProfileItems[index] = value - } -} diff --git a/remote/http/service.go b/remote/http/service.go index eb67105..9abf677 100644 --- a/remote/http/service.go +++ b/remote/http/service.go @@ -219,6 +219,7 @@ func (as *HTTPAccountService) CheckAliasAddress(ctx context.Context, alias strin return &r, err } +// TODO: remove eth-custodial api dependency func doRequest(ctx context.Context, req *http.Request, rcpt any) (*api.OKResponse, error) { var okResponse api.OKResponse var errResponse api.ErrResponse