mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 03:33:53 +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()
|
||||
.await
|
||||
.get_followed_pubkeys()
|
||||
.await
|
||||
.iter()
|
||||
.map(|p| p.to_owned())
|
||||
.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();
|
||||
for person in self
|
||||
.people
|
||||
|
Loading…
Reference in New Issue
Block a user