openethereum/ethcore/light
mattrutherford 2e0246a6c2
Fix: test corpus_inaccessible panic (#10019)
If system uptime is less than the duration in the test, thread
will panic due to: 'overflow when subtracting duration from instant'.

Changed duration to 20 seconds to make it unlikely the test will
fail due to this condition.

Since no operations that carry a similar risk of panic occur outside
of the tests, it doesn't seem warranted to depend on an external crate
to fix this.
2018-12-05 15:38:55 +00:00
..
src Fix: test corpus_inaccessible panic (#10019) 2018-12-05 15:38:55 +00:00
Cargo.toml light client : failsafe crate (circuit breaker) (#9790) 2018-12-05 10:36:53 +01:00