Skip to content

Commit aef3d35

Browse files
committed
add long wif test
1 parent ad521fa commit aef3d35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

primitives/ec/privatekey_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ func TestPrivateKeyFromInvalidWif(t *testing.T) {
136136
require.Error(t, err)
137137

138138
wif = "L4o1GXuUSHauk19f9Cfpm1qfSXZuGLBUAC2VZM6vdmfMxRxAYkWqL4o1GXuUSHauk19f9Cfpm1qfSXZuGLBUAC2VZM6vdmfMxRxAYkWq"
139+
_, err = PrivateKeyFromWif(wif)
140+
require.Error(t, err)
139141
}
140142

141143
// TestPolynomialFromPrivateKey checks if a polynomial is correctly created from a private key

0 commit comments

Comments
 (0)