Skip to content

Commit

Permalink
layer: Remove unused gateKey field
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Baidakov <[email protected]>
  • Loading branch information
smallhive committed Aug 10, 2023
1 parent 133cfcb commit 7b3231b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/layer/layer.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ type (
layer struct {
neoFS NeoFS
log *zap.Logger
gateKey *keys.PrivateKey
gateSigner user.Signer
// used in case of user wants to do something like anonymous.
// Typical using is a flag --no-sign-request in aws-cli.
Expand Down Expand Up @@ -266,7 +265,6 @@ func NewLayer(log *zap.Logger, neoFS NeoFS, config *Config) Client {
return &layer{
neoFS: neoFS,
log: log,
gateKey: config.GateKey,
gateSigner: user.NewAutoIDSignerRFC6979(config.GateKey.PrivateKey),
anonymous: config.Anonymous,
resolver: config.Resolver,
Expand Down

0 comments on commit 7b3231b

Please sign in to comment.