Skip to content

Commit

Permalink
Merge pull request #231 from sr-gi/2023-07-clippy
Browse files Browse the repository at this point in the history
Fixes clippy issues, updates warp
  • Loading branch information
sr-gi authored Jul 24, 2023
2 parents 59c770b + ed78c89 commit bacac07
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 81 deletions.
146 changes: 67 additions & 79 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion teos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ toml = "0.5"
tonic = { version = "0.6", features = [ "tls", "transport" ] }
tokio = { version = "1.5", features = [ "rt-multi-thread" ] }
triggered = "0.1.2"
warp = "0.3.2"
warp = "0.3.5"
torut = "0.2.1"

# Bitcoin and Lightning
Expand Down
2 changes: 1 addition & 1 deletion teos/src/gatekeeper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ mod tests {
) {
self.add_update_user(user_id).unwrap();
let mut registered_users = self.registered_users.lock().unwrap();
let mut user = registered_users.get_mut(&user_id).unwrap();
let user = registered_users.get_mut(&user_id).unwrap();
user.subscription_expiry = outdates_at - self.expiry_delta;
if let Some(uuids) = appointments {
for uuid in uuids.iter() {
Expand Down

0 comments on commit bacac07

Please sign in to comment.