Browse Source
Merge impl blocks with same bounds
contact-taker-before-changing-cfd-state
Thomas Eizinger
3 years ago
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
1 changed files with
0 additions and
4 deletions
-
daemon/src/oracle.rs
|
|
@ -104,9 +104,7 @@ impl Actor { |
|
|
|
attestation_channel, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
impl Actor { |
|
|
|
fn update_pending_announcements(&mut self, ctx: &mut xtra::Context<Self>) { |
|
|
|
for event_id in self.pending_announcements.iter().cloned() { |
|
|
|
let this = ctx.address().expect("self to be alive"); |
|
|
@ -140,9 +138,7 @@ impl Actor { |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
impl Actor { |
|
|
|
fn update_pending_attestations(&mut self, ctx: &mut xtra::Context<Self>) { |
|
|
|
for event_id in self.pending_attestations.iter().copied() { |
|
|
|
if !event_id.has_likely_occured() { |
|
|
|