wrong error
This commit is contained in:
parent
5f55a9be84
commit
25bbc3bc2a
|
@ -226,7 +226,7 @@ impl ReplayStage {
|
||||||
let timer = Duration::from_millis(100);
|
let timer = Duration::from_millis(100);
|
||||||
let e = ledger_signal_receiver.recv_timeout(timer);
|
let e = ledger_signal_receiver.recv_timeout(timer);
|
||||||
match e {
|
match e {
|
||||||
Err(RecvTimeoutError::Disconnected) => continue,
|
Err(RecvTimeoutError::Timeout) => continue,
|
||||||
Err(_) => break,
|
Err(_) => break,
|
||||||
Ok(_) => (),
|
Ok(_) => (),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue