Update backend/src/aggregator.rs

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
This commit is contained in:
David
2021-03-27 22:08:32 +01:00
committed by GitHub
parent 5571cf85e5
commit 41a6060be7
+1 -1
View File
@@ -219,7 +219,7 @@ impl Handler<AddNode> for Aggregator {
} else {
log::warn!(target: "Aggregator::AddNode", "Chain {} is over quota ({})", chain.label, chain.max_nodes);
let reason = CloseReason{ code: CloseCode::Again, description: Some("Overquota".into()) };
let _ = mute.do_send(Mute { reason });
let _ = rec.do_send(Mute { reason });
}
}
}