Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix TestSyncClient
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Feb 12, 2019
1 parent 2d54dd7 commit fc2e948
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpc/src/v1/tests/helpers/sync_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ impl SyncProvider for TestSyncProvider {
fn is_major_syncing(&self) -> bool {
match (self.status.read().state, *self.is_importing.read()) {
(SyncState::Idle, _) => false,
(SyncState::Blocks, _) => true,
(_, true) => true,
_ => false
}
Expand Down

0 comments on commit fc2e948

Please sign in to comment.