Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler committed May 3, 2024
1 parent c719df1 commit efbcace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dan_layer/storage_sqlite/src/global/backend_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use std::{

use diesel::{
sql_query,
sql_types::{BigInt, Bigint, Binary},
sql_types::{BigInt, Bigint},
ExpressionMethods,
JoinOnDsl,
NullableExpressionMethods,
Expand Down
2 changes: 1 addition & 1 deletion dan_layer/storage_sqlite/tests/global_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ fn insert_and_get_within_shard_range_duplicate_public_keys() {
}
assert_eq!(vns.len(), 2);

let vn = validator_nodes.get_by_public_key(Epoch(0), Epoch(10), &pk).unwrap();
let vn = validator_nodes.get_by_public_key(Epoch(0), Epoch(10), &pk, None).unwrap();
assert_eq!(vn.epoch, Epoch(2));
assert_eq!(vn.committee_shard, Some(Shard::from(2)));
}

0 comments on commit efbcace

Please sign in to comment.