Skip to content

Commit

Permalink
fix: fix recovery test reporting message (#3479)
Browse files Browse the repository at this point in the history
Description
---
This PR fixes the message that is reported after a successful recovery test. It was formatted like a console.log(…) call but was refactored into a new function which ignored everything after the first argument.
  • Loading branch information
philipr-za authored Oct 21, 2021
1 parent 4bc7c2a commit 335b626
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions applications/daily_tests/cron_jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,7 @@ async function runWalletRecoveryTest(instances) {
});

notify(
"🙌 Wallet (Pubkey:",
identity.public_key,
") recovered to a block height of",
numScanned,
"completed in",
timeDiffMinutes,
"minutes (",
scannedRate,
"blocks/min).",
recoveredAmount,
"µT recovered for ",
instances,
" instance(s)."
`🙌 Wallet (Pubkey: ${identity.public_key} ) recovered to a block height of ${numScanned}, completed in ${timeDiffMinutes} minutes (${scannedRate} blocks/min). ${recoveredAmount} µT recovered for ${instances} instance(s).`
);
} catch (err) {
console.error(err);
Expand Down

0 comments on commit 335b626

Please sign in to comment.