diff --git a/EXAMPLE_JS.md b/EXAMPLE_JS.md index 0d651d9..ec34314 100644 --- a/EXAMPLE_JS.md +++ b/EXAMPLE_JS.md @@ -16,10 +16,10 @@ var eve = lrs.gen(); var group = [alice, bob, eve].map((m) => m.publicKey); // Alice signs a message in behalf of one of the 3 -var signed = lrs.sign(group, alice, "The body is buried on the backyard."); +var signed = lrs.sign(group, alice, "The body is buried at the backyard."); // Anyone is able to verify *some* of them signed that message -console.log(lrs.verify(group, signed, "The body is buried on the backyard.")); +console.log(lrs.verify(group, signed, "The body is buried at the backyard.")); // If that same person signs another message... var signed2 = lrs.sign(group, alice, "Just kidding, he is alive.");