From a7704d8b512608ee6d7cac538e6a7914bba27427 Mon Sep 17 00:00:00 2001 From: Ludo Galabru <4290054+vabanaerytk@users.noreply.github.com> Date: Sat, 26 Aug 2023 10:56:32 -0400 Subject: [PATCH] feat: introduce "data_handler_tx" --- components/chainhook-sdk/src/observer/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/chainhook-sdk/src/observer/mod.rs b/components/chainhook-sdk/src/observer/mod.rs index 73ddaab..f29e97f 100644 --- a/components/chainhook-sdk/src/observer/mod.rs +++ b/components/chainhook-sdk/src/observer/mod.rs @@ -73,6 +73,7 @@ pub struct EventObserverConfig { pub cache_path: String, pub bitcoin_network: BitcoinNetwork, pub stacks_network: StacksNetwork, + pub data_handler_tx: Option>, } #[derive(Deserialize, Debug, Clone)] @@ -187,6 +188,7 @@ impl EventObserverConfig { .unwrap_or("cache".to_string()), bitcoin_network, stacks_network, + data_handler_tx: None, }; Ok(config) }