Make StateSubscriber public
This commit updates the scabbard service to export the StateSubscriber.
The StateSubscriber is used by the websocket event code which is being
moved to the actix-web-1 crate. This change leads the way for that
websocket code to move.
@@ -59,10 +59,11 @@ pub use factory::ScabbardArgValidator;
pub use factory::{ScabbardFactory, ScabbardFactoryBuilder, ScabbardStorageConfiguration};
use shared::ScabbardShared;
use state::merkle_state::MerkleState;
+use state::ScabbardState;
pub use state::{
BatchInfo, BatchInfoIter, BatchStatus, Events, StateChange, StateChangeEvent, StateIter,
+ StateSubscriber,
};
-use state::{ScabbardState, StateSubscriber};
const SERVICE_TYPE: &str = "scabbard";
