We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb5fb9 commit 01ab969Copy full SHA for 01ab969
examples/authorize_preimage_and_store_papi.js
@@ -25,13 +25,13 @@ async function main() {
25
// Data to store.
26
const dataToStore = "Hello, Bulletin with PAPI - " + new Date().toString();
27
let expectedCid = await cidFromBytes(dataToStore);
28
- let contentHashes = contentHash(dataToStore);
+ let contentHash = contentHash(dataToStore);
29
30
// Authorize an account.
31
await authorizePreimage(
32
bulletinAPI,
33
sudoSigner,
34
- contentHashes,
+ contentHash,
35
BigInt(dataToStore.length)
36
);
37
0 commit comments