From f07ccd7d01f877f035e146e38b8b5b6d714efe7f Mon Sep 17 00:00:00 2001 From: promalert Date: Wed, 7 Jan 2026 16:32:28 +0800 Subject: [PATCH] chore: fix some minor issues in the comments Signed-off-by: promalert --- block/internal/submitting/da_submitter.go | 2 +- client/crates/client/src/lib.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/block/internal/submitting/da_submitter.go b/block/internal/submitting/da_submitter.go index 59e802ba32..c479f2a2ea 100644 --- a/block/internal/submitting/da_submitter.go +++ b/block/internal/submitting/da_submitter.go @@ -179,7 +179,7 @@ func (s *DASubmitter) SubmitHeaders(ctx context.Context, cache cache.Manager, si return submitToDA(s, ctx, headers, func(header *types.SignedHeader) ([]byte, error) { // A. Marshal the inner SignedHeader content to bytes (canonical representation for signing) - // This effectively signs "Fields 1-3" of the intended DAHeaderEnvelope. + // This effectively signs "Fields 1-3" of the intended DAHeaderEnvelope. contentBytes, err := header.MarshalBinary() if err != nil { return nil, fmt.Errorf("failed to marshal signed header for envelope signing: %w", err) diff --git a/client/crates/client/src/lib.rs b/client/crates/client/src/lib.rs index 1c2467e342..493f41bc24 100644 --- a/client/crates/client/src/lib.rs +++ b/client/crates/client/src/lib.rs @@ -41,7 +41,7 @@ //! .connect_timeout(Duration::from_secs(10)) //! .build() //! .await?; -//! +//! //! Ok(()) //! } //! ``` @@ -60,17 +60,17 @@ //! .tls() // Enable TLS with default configuration //! .build() //! .await?; -//! +//! //! // Or with custom TLS configuration //! let tls_config = ClientTlsConfig::new() //! .domain_name("secure-node.ev.xyz"); -//! +//! //! let client = Client::builder() //! .endpoint("https://secure-node.ev.xyz") //! .tls_config(tls_config) //! .build() //! .await?; -//! +//! //! Ok(()) //! } //! ```