Skip to content

Commit

Permalink
docs: update ripemd160 example
Browse files Browse the repository at this point in the history
The ripemd160 example was not referencing `ripemd160.create` as a static method.
  • Loading branch information
ckniffen authored Sep 20, 2023
1 parent 84f9cf6 commit e6f5436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const rand1b = p.fetch(1);
import { ripemd160 } from '@noble/hashes/ripemd160';
// function ripemd160(data: Uint8Array): Uint8Array;
const hash8 = ripemd160('abc');
const hash9 = ripemd160()
const hash9 = ripemd160
.create()
.update(Uint8Array.from([1, 2, 3]))
.digest();
Expand Down

0 comments on commit e6f5436

Please sign in to comment.