Skip to content

Commit

Permalink
chore: revert submission bytes logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anomit committed Oct 29, 2024
1 parent c4fff68 commit 040bab0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/service/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ func (s *server) SubmitSnapshot(ctx context.Context, submission *pkgs.SnapshotSu
submissionBytes := append(submissionIdBytes, subBytes...)
// Convert to checksum address using go-ethereum's utility
checksummedAddress := common.HexToAddress(config.SettingsObj.DataMarketAddress).Hex()
submissionBytes = append(submissionBytes, []byte(checksummedAddress)...)
log.Debugln("Submission bytes: ", submissionBytes)
submissionBytes = append([]byte(checksummedAddress), submissionBytes...)
go func() {
err := s.writeToStream(submissionBytes)

Expand Down

0 comments on commit 040bab0

Please sign in to comment.