Skip to content

Commit

Permalink
style: update signer initialization formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] and ratankaliani committed Dec 12, 2024
1 parent d975f76 commit 95aa4ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/bin/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ impl SP1BlobstreamOperator {
RelayMode::Local => {
let private_key = env::var("PRIVATE_KEY")
.expect("PRIVATE_KEY environment variable must be set when USE_KMS_RELAYER is not 'true'. Set USE_KMS_RELAYER=true to use KMS relaying instead.");
let signer: PrivateKeySigner = private_key.parse().expect("Failed to parse PRIVATE_KEY - ensure it is a valid Ethereum private key");
let signer: PrivateKeySigner = private_key.parse().expect(
"Failed to parse PRIVATE_KEY - ensure it is a valid Ethereum private key",
);
let relayer_address = signer.address();
let wallet = EthereumWallet::from(signer);
let wallet_filler = ProviderBuilder::new()
Expand Down

0 comments on commit 95aa4ec

Please sign in to comment.