Skip to content

Commit

Permalink
Fix erroneous range usage
Browse files Browse the repository at this point in the history
  • Loading branch information
vctt94 authored Oct 20, 2020
1 parent 829bc2e commit a653daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/rpc/rpcserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3635,8 +3635,8 @@ func (s *walletServer) GetVSPTicketsByFeeStatus(ctx context.Context, req *pb.Get
}

hashes := make([][]byte, len(failedTicketsFee))
for i, hash := range failedTicketsFee {
hashes[i] = hash[:]
for i := range failedTicketsFee {
hashes[i] = failedTicketsFee[i][:]
}

return &pb.GetVSPTicketsByFeeStatusResponse{
Expand Down

0 comments on commit a653daa

Please sign in to comment.