This repository was archived by the owner on Feb 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
bolt-cli/src/commands/operators Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ impl EigenLayerSubcommand {
145145 let signature = Bytes :: from ( signer. sign_hash_sync ( & signature_digest) ?. as_bytes ( ) ) ;
146146 let signature = SignatureWithSaltAndExpiry { signature, expiry, salt } ;
147147
148- // Sanitize extra data removing quotes
149- let extra_data = extra_data. trim_matches ( '"' ) . to_string ( ) ;
148+ // Sanitize extra data removing quotes and trimming whitespace
149+ let extra_data = extra_data. trim_matches ( '"' ) . trim_start ( ) . trim_end ( ) . to_string ( ) ;
150150
151151 // TODO(nico): consolidate holesky & mainnet smart contracts
152152 if chain == Chain :: Mainnet {
Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ impl SymbioticSubcommand {
6969 ) ;
7070 }
7171
72- // Sanitize extra data removing quotes
73- let extra_data = extra_data. trim_matches ( '"' ) . to_string ( ) ;
72+ // Sanitize extra data removing quotes and trimming whitespace
73+ let extra_data = extra_data. trim_matches ( '"' ) . trim_start ( ) . trim_end ( ) . to_string ( ) ;
7474
7575 if chain == Chain :: Mainnet {
7676 let middleware = BoltSymbioticMiddlewareMainnet :: new (
You can’t perform that action at this time.
0 commit comments