mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
People::get_followed_pubkeys() does not need to be async
This commit is contained in:
parent
a85c416657
commit
a625cb7c91
@ -169,7 +169,6 @@ impl Overlord {
|
|||||||
.read()
|
.read()
|
||||||
.await
|
.await
|
||||||
.get_followed_pubkeys()
|
.get_followed_pubkeys()
|
||||||
.await
|
|
||||||
.iter()
|
.iter()
|
||||||
.map(|p| p.to_owned())
|
.map(|p| p.to_owned())
|
||||||
.collect();
|
.collect();
|
||||||
|
@ -29,7 +29,7 @@ impl People {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn get_followed_pubkeys(&self) -> Vec<PublicKeyHex> {
|
pub fn get_followed_pubkeys(&self) -> Vec<PublicKeyHex> {
|
||||||
let mut output: Vec<PublicKeyHex> = Vec::new();
|
let mut output: Vec<PublicKeyHex> = Vec::new();
|
||||||
for person in self
|
for person in self
|
||||||
.people
|
.people
|
||||||
|
Loading…
Reference in New Issue
Block a user