mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 21:19:24 +00:00
Route from tributary scanner to message-queue
This commit is contained in:
@@ -446,4 +446,11 @@ impl TributaryDb {
|
||||
) {
|
||||
ProcessorMessages::send(txn, set, &message.into());
|
||||
}
|
||||
|
||||
pub(crate) fn try_recv_message(
|
||||
txn: &mut impl DbTxn,
|
||||
set: ValidatorSet,
|
||||
) -> Option<messages::CoordinatorMessage> {
|
||||
ProcessorMessages::try_recv(txn, set)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user