Skip to content

Commit

Permalink
UT fix
Browse files Browse the repository at this point in the history
  • Loading branch information
novosandara committed Mar 27, 2024
1 parent 0aa156e commit dc6c98e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jsonrpc/eth_blockchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ func TestEth_Accounts(t *testing.T) {

assert.Error(t, err)
assert.Nil(t, res)
contractKey, _ := crypto.GenerateECDSAKey()

contractKey, err := crypto.GenerateECDSAKey()
assert.NoError(t, err)

eth.ecdsaKey = contractKey

res, err = eth.Accounts()
Expand Down

0 comments on commit dc6c98e

Please sign in to comment.