Skip to content

Commit

Permalink
Fix legacy e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal authored and goran-ethernal committed Feb 20, 2024
1 parent 7f4dd8f commit 57808ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonrpc/eth_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func NewEth(
err error
)

if secretsManager != nil {
if secretsManager != nil && secretsManager.HasSecret(secrets.ValidatorKey) {
ecdsaKey, err = polyWallet.GetEcdsaFromSecret(secretsManager)
if err != nil {
return nil, fmt.Errorf("failed to read account ECDSA key: %w", err)
Expand Down

0 comments on commit 57808ab

Please sign in to comment.