Query for the correct server

This commit is contained in:
Devin Ragotzy 2021-03-04 08:02:41 -05:00
parent 79c9de98cd
commit e239014fa3
1 changed files with 1 additions and 1 deletions

View File

@ -1148,7 +1148,7 @@ pub(crate) async fn fetch_signing_keys(
&db.globals, &db.globals,
&server, &server,
get_remote_server_keys::v2::Request::new( get_remote_server_keys::v2::Request::new(
&server, origin,
SystemTime::now() SystemTime::now()
.checked_add(Duration::from_secs(3600)) .checked_add(Duration::from_secs(3600))
.expect("SystemTime to large"), .expect("SystemTime to large"),