JS const to let
@@ -518,7 +518,7 @@ This will return an encoded value of `c2hvd2luZyBwcmVmaXg=`. This value can the
(async () => {
const enc = new TextEncoder();
let note = enc.encode("Hello");
- const s = Buffer.from(note).toString("base64");
+ let s = Buffer.from(note).toString("base64");
let transactionInfo = await indexerClient.searchForTransactions()
.notePrefix(s).do();
console.log("Information for Transaction search: " + JSON.stringify(transactionInfo, undefined, 2));
