diff options
Diffstat (limited to 'src/nostr/policy')
| -rw-r--r-- | src/nostr/policy/state.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nostr/policy/state.rs b/src/nostr/policy/state.rs index f94f004..3411077 100644 --- a/src/nostr/policy/state.rs +++ b/src/nostr/policy/state.rs | |||
| @@ -205,9 +205,12 @@ impl StatePolicy { | |||
| 205 | 205 | ||
| 206 | // If no git data - add to purgatory | 206 | // If no git data - add to purgatory |
| 207 | // (add_state automatically enqueues for background sync) | 207 | // (add_state automatically enqueues for background sync) |
| 208 | self.ctx | 208 | self.ctx.purgatory.add_state( |
| 209 | .purgatory | 209 | event.clone(), |
| 210 | .add_state(event.clone(), state.identifier.clone(), event.pubkey); | 210 | state.identifier.clone(), |
| 211 | event.pubkey, | ||
| 212 | is_synced, | ||
| 213 | ); | ||
| 211 | 214 | ||
| 212 | tracing::info!( | 215 | tracing::info!( |
| 213 | "state event added to purgatory: eventid: {}, identifier: {}", | 216 | "state event added to purgatory: eventid: {}, identifier: {}", |