diff --git a/content/_code-samples/freeze/set-global-freeze-with-checks.js b/content/_code-samples/freeze/set-global-freeze-with-checks.js index 846d416a36..ab2b7ed1e2 100644 --- a/content/_code-samples/freeze/set-global-freeze-with-checks.js +++ b/content/_code-samples/freeze/set-global-freeze-with-checks.js @@ -36,8 +36,10 @@ async function main() { console.log('Global Freeze enabled?', ((settings.account_data.Flags & lsfGlobalFreeze) === lsfGlobalFreeze)) - // This is where you would investigate what prompted you to freeze the account - console.log(`${wallet.address} should be frozen now.`) + // Investigate ---------------------------------------------------------------- + console.log( + `You would investigate whatever prompted you to freeze the account now...`) + await new Promise(resolve => setTimeout(resolve, 3000)) // Now we disable the global freeze ------------------------------------------- const accountSetTx2 = { diff --git a/content/_code-samples/freeze/set-global-freeze.js b/content/_code-samples/freeze/set-global-freeze.js index 076a14e3cc..27b9f7b78d 100644 --- a/content/_code-samples/freeze/set-global-freeze.js +++ b/content/_code-samples/freeze/set-global-freeze.js @@ -23,10 +23,12 @@ async function main() { // Sign and submit the AccountSet transaction to enable a global freeze ------- console.log('Signing and submitting the transaction:', accountSetTx) await client.submitReliable(wallet, accountSetTx) - console.log("Finished submitting!") + console.log(`Finished submitting! ${wallet.address} should be frozen now.`) - // This is where you would investigate what prompted you to freeze the account - console.log(`${wallet.address} should be frozen now.`) + // Investigate ---------------------------------------------------------------- + console.log( + `You would investigate whatever prompted you to freeze the account now...`) + await new Promise(resolve => setTimeout(resolve, 3000)) // Now we disable the global freeze ------------------------------------------- const accountSetTx2 = {