We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4134c3a commit 1b20812Copy full SHA for 1b20812
operator_tracker/src/lib.rs
@@ -193,8 +193,9 @@ pub async fn get_operator_version(
193
return Err(OperatorVersionError::BadRequest);
194
}
195
196
+ let lowercase_address = address.to_lowercase();
197
sqlx::query_as::<_, OperatorVersion>("SELECT * FROM operator_versions WHERE address = $1")
- .bind(address)
198
+ .bind(lowercase_address)
199
.fetch_optional(db)
200
.await
201
.map_err(|_| OperatorVersionError::InternalServerError)
0 commit comments