Skip to content

Commit

Permalink
native: Remove unused key
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Baidakov <[email protected]>
  • Loading branch information
smallhive committed Sep 13, 2023
1 parent 9fea82f commit a799ac0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions internal/native/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ type (

PreparedObject struct {
vu modules.VU
key ecdsa.PrivateKey
signer user.Signer
cli *client.Client
bufsize int
Expand Down Expand Up @@ -364,7 +363,6 @@ func (c *Client) Onsite(containerID string, payload goja.ArrayBuffer) PreparedOb

return PreparedObject{
vu: c.vu,
key: c.key,
signer: c.signer,
cli: c.cli,
bufsize: c.bufsize,
Expand Down
1 change: 0 additions & 1 deletion internal/native/native.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ func (n *Native) Connect(endpoint, hexPrivateKey string, dialTimeout, streamTime
return &Client{
vu: n.vu,
signer: signer,
key: pk.PrivateKey,
owner: signer.UserID(),
tok: tok,
cli: cli,
Expand Down

0 comments on commit a799ac0

Please sign in to comment.