Skip to content

Commit

Permalink
Ensure antispam reason is propagated for SubmitIntent failures (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffyanta committed May 24, 2024
1 parent b1249ee commit f062a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/code/server/grpc/transaction/v2/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func newIntentDeniedError(message string) IntentDeniedError {
func newIntentDeniedErrorWithAntispamReason(reason antispam.Reason, message string) IntentDeniedError {
return IntentDeniedError{
message: message,
reason: antispam.ReasonUnspecified,
reason: reason,
}
}

Expand Down

0 comments on commit f062a84

Please sign in to comment.