Skip to content

Commit

Permalink
Fix error response
Browse files Browse the repository at this point in the history
  • Loading branch information
gagliardetto committed Feb 20, 2024
1 parent 5d817b9 commit 410bebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiepoch-getTransaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (multi *MultiEpoch) handleGetTransaction(ctx context.Context, conn *request
if errors.Is(err, ErrNotFound) {
return &jsonrpc2.Error{
Code: CodeNotFound,
Message: fmt.Sprintf("Epoch %d is not available from this RPC", epochNumber),
Message: "Signature not found",
}, fmt.Errorf("failed to find epoch number from signature %s: %v", sig, err)
}
return &jsonrpc2.Error{
Expand Down

0 comments on commit 410bebb

Please sign in to comment.