mirror of https://github.com/poanetwork/hbbft.git
select_loop macro is in fact not visible; fixed that temporarily
This commit is contained in:
parent
ef2ec016e4
commit
bad5fd47a7
|
@ -69,7 +69,7 @@ where Vec<u8>: From<T>
|
||||||
scope.spawn(move || {
|
scope.spawn(move || {
|
||||||
// Unfolded application of `select_loop!`
|
// Unfolded application of `select_loop!`
|
||||||
let mut sel = channel::Select::new();
|
let mut sel = channel::Select::new();
|
||||||
select_loop! { loop {
|
loop { loop {
|
||||||
// Receive a multicast message from the manager thread.
|
// Receive a multicast message from the manager thread.
|
||||||
if let Ok(message) = sel.recv(&rx) {
|
if let Ok(message) = sel.recv(&rx) {
|
||||||
debug!("Node {} <- {:?}", node_index, message);
|
debug!("Node {} <- {:?}", node_index, message);
|
||||||
|
|
Loading…
Reference in New Issue