mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 23:27:56 -05:00
event_graph: fix bug with batch insert of events in dag_insert
This commit is contained in:
@@ -794,7 +794,7 @@ impl EventGraph {
|
||||
for event in events {
|
||||
let event_id = event.id();
|
||||
if event.header.layer == 0 {
|
||||
return Ok(vec![])
|
||||
break
|
||||
}
|
||||
debug!(
|
||||
target: "event_graph::dag_insert()",
|
||||
|
||||
Reference in New Issue
Block a user