Skip to content

Commit 5b8c3cd

Browse files
committed
Simplify import aggregator get_signer provider
1 parent 25fb036 commit 5b8c3cd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mithril-aggregator/src/database/provider/signer/get_signer.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#[cfg(test)]
2-
use sqlite::Value;
3-
41
use mithril_common::StdResult;
52
use mithril_persistence::sqlite::{
63
EntityCursor, Provider, SourceAlias, SqLiteEntity, SqliteConnection, WhereCondition,
@@ -23,7 +20,7 @@ impl<'client> GetSignerRecordProvider<'client> {
2320
fn condition_by_signer_id(&self, signer_id: String) -> StdResult<WhereCondition> {
2421
Ok(WhereCondition::new(
2522
"signer_id = ?*",
26-
vec![Value::String(signer_id)],
23+
vec![sqlite::Value::String(signer_id)],
2724
))
2825
}
2926

0 commit comments

Comments
 (0)