Skip to content

Commit bb00d26

Browse files
authored
signer/core: fix error message in test (#32807)
1 parent f9756bb commit bb00d26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

signer/core/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ func TestSignTx(t *testing.T) {
264264
t.Errorf("Expected nil-response, got %v", res)
265265
}
266266
if err != keystore.ErrDecrypt {
267-
t.Errorf("Expected ErrLocked! %v", err)
267+
t.Errorf("Expected ErrDecrypt! %v", err)
268268
}
269269
control.approveCh <- "No way"
270270
res, err = api.SignTransaction(t.Context(), tx, &methodSig)

signer/core/signed_data_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func TestSignData(t *testing.T) {
202202
t.Errorf("Expected nil-data, got %x", signature)
203203
}
204204
if err != keystore.ErrDecrypt {
205-
t.Errorf("Expected ErrLocked! '%v'", err)
205+
t.Errorf("Expected ErrDecrypt! '%v'", err)
206206
}
207207
control.approveCh <- "No way"
208208
signature, err = api.SignData(context.Background(), apitypes.TextPlain.Mime, a, hexutil.Encode([]byte("EHLO world")))

0 commit comments

Comments
 (0)