Skip to content

Commit

Permalink
add long wif test
Browse files Browse the repository at this point in the history
  • Loading branch information
rohenaz committed Sep 4, 2024
1 parent ad521fa commit aef3d35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions primitives/ec/privatekey_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ func TestPrivateKeyFromInvalidWif(t *testing.T) {
require.Error(t, err)

wif = "L4o1GXuUSHauk19f9Cfpm1qfSXZuGLBUAC2VZM6vdmfMxRxAYkWqL4o1GXuUSHauk19f9Cfpm1qfSXZuGLBUAC2VZM6vdmfMxRxAYkWq"
_, err = PrivateKeyFromWif(wif)
require.Error(t, err)
}

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

0 comments on commit aef3d35

Please sign in to comment.