Skip to content

Commit 92a4cdb

Browse files
l-monningernicholasflintwillow
authored andcommitted
fix: HTTP2 Connection Should be Used for DA Tool (#1085)
1 parent e407f64 commit 92a4cdb

File tree

1 file changed

+2
-1
lines changed
  • networks/movement/movement-full-node/src/da/stream_blocks

1 file changed

+2
-1
lines changed

networks/movement/movement-full-node/src/da/stream_blocks/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ impl StreamBlocks {
1919
pub async fn execute(&self) -> Result<(), anyhow::Error> {
2020
// Get the config
2121

22-
let mut client = MovementDaLightNodeClient::try_http1(self.light_node_url.as_str())
22+
let mut client = MovementDaLightNodeClient::try_http2(self.light_node_url.as_str())
23+
.await
2324
.context("Failed to connect to light node")?;
2425

2526
let mut blocks_from_da = client

0 commit comments

Comments
 (0)