Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Jul 12, 2024
1 parent a947ded commit 5f15ea2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions http/submitproposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ func (s *Service) submitProposalData(ctx context.Context,
var contentType ContentType
var err error

nodeClientResponse, err := s.NodeClient(ctx)
nodeClient := "unknown"
if err == nil {
nodeClient = nodeClientResponse.Data
}

if s.enforceJSON {
contentType = ContentTypeJSON
body, err = s.submitProposalJSON(ctx, proposal)
Expand Down

0 comments on commit 5f15ea2

Please sign in to comment.