Skip to content

Commit

Permalink
run make fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ricomateo committed Jan 8, 2025
1 parent b036a6d commit 87ff7d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chainio/clients/elcontracts/writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,11 @@ func TestSetClaimerFor(t *testing.T) {
// Creates a testing ChainWriter from an httpEndpoint, private key and config.
// This is needed because the existing testclients.BuildTestClients returns a
// ChainWriter with a null rewardsCoordinator, which is required for some of the tests.
func newTestChainWriterFromConfig(httpEndpoint string, privateKeyHex string, config elcontracts.Config) (*elcontracts.ChainWriter, error) {
func newTestChainWriterFromConfig(
httpEndpoint string,
privateKeyHex string,
config elcontracts.Config,
) (*elcontracts.ChainWriter, error) {
privateKey, err := crypto.HexToECDSA(privateKeyHex)
if err != nil {
return nil, utils.WrapError("Failed convert hex string to ecdsa private key", err)
Expand Down

0 comments on commit 87ff7d9

Please sign in to comment.