Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Zdybał <[email protected]>
  • Loading branch information
evan-forbes and tzdybal authored Nov 9, 2021
1 parent 2f574b0 commit 2bacc66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (d *DataAvailabilityLightClient) SubmitBlock(ctx context.Context, blockReq
return &dalc.SubmitBlockResponse{
Result: &dalc.DAResponse{
Code: dalc.StatusCode_STATUS_CODE_ERROR,
Message: fmt.Sprintf("failed to broadcast tx: code %d", resp.Code),
Message: fmt.Sprintf("failed to submit tx: code %d", resp.Code),
},
}, err
}
Expand Down

0 comments on commit 2bacc66

Please sign in to comment.