Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 11, 2023
1 parent 70158f2 commit c09e88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/src/sample-dapp/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function mintPublicFunds(pxe) {

// docs:start:showLogs
const blockNumber = await pxe.getBlockNumber();
const logs = await pxe.getUnencryptedLogs(blockNumber, 1);
const logs = (await pxe.getUnencryptedLogs(blockNumber, 1)).logs;
const textLogs = L2BlockL2Logs.unrollLogs(logs).map(log => log.toString('ascii'));
for (const log of textLogs) console.log(`Log emitted: ${log}`);
// docs:end:showLogs
Expand Down

0 comments on commit c09e88b

Please sign in to comment.