Skip to content

Commit 499e878

Browse files
committed
fix: update README example code
1 parent 37d6051 commit 499e878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ go get https://github.com/trailofbits/lms-go
3232
## Usage
3333

3434
```go
35-
seckey := lms.NewPrivateKey(common.LMS_SHA256_M32_H10, common.LMOTS_SHA256_N32_W4, /* some 16 byte id */)
35+
seckey := lms.NewPrivateKey(common.LMS_SHA256_M32_H10, common.LMOTS_SHA256_N32_W4)
3636
pubkey := seckey.Public()
3737
// The optional nil argument can be a user-chosen RNG
3838
sig, err := seckey.Sign([]byte("example"), nil)

0 commit comments

Comments
 (0)