Skip to content

Commit

Permalink
reset announce timer in response to GossipSubCmd::Announce
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwoodbury committed Nov 9, 2023
1 parent c93703a commit 864cb89
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ async fn run(
log::error!("failed to publish aes message: {e}");
}
to_announce.replace(GossipSubCmd::Announce { group_key, signal, topic });
announce_timer.reset();
},
GossipSubCmd::DecodeEcdh { src, data, rsp } => {
let r = || {
Expand Down

0 comments on commit 864cb89

Please sign in to comment.