Skip to content

Commit

Permalink
tweak: queue/redis/pop.go suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Easton Crupper <[email protected]>
  • Loading branch information
plyr4 and ecrupper authored Aug 23, 2023
1 parent c28b5d6 commit 37926a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions queue/redis/pop.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ func (c *client) Pop(ctx context.Context) (*types.Item, error) {
// extract signed item from pop results
signed := []byte(result[1])

var opened []byte

var out []byte
var opened, out []byte

// open the item using the public key generated using sign
//
Expand Down

0 comments on commit 37926a5

Please sign in to comment.