Skip to content

Commit 08afbec

Browse files
committed
Reduce logging
1 parent 641ccfb commit 08afbec

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/electrum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export async function launchElectrum() {
194194
}
195195

196196
client.addHeadChangedListener((header) => {
197-
console.debug('BTC Head is now at', header.blockHeight);
197+
console.debug('Bitcoin head is now at', header.blockHeight);
198198
useBtcNetworkStore().patch({
199199
height: header.blockHeight,
200200
timestamp: header.timestamp,

src/ethers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ export async function safeQueryFilter(
302302
// Reduce the window size until it no longer exceeds alchemy's limits.
303303
while (true) { // eslint-disable-line no-constant-condition
304304
try {
305-
console.warn('Trying to fetch from Alchemy:', currentStart, currentEnd);
306305
// eslint-disable-next-line no-await-in-loop
307306
const eventsChunk = await contract.queryFilter(event, currentStart, currentEnd);
308307
allEvents.push(...eventsChunk);

src/network.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export async function launchNetwork() {
281281
const block = await retry(() => client.getBlock(hash)).catch(reportFor('getBlock'));
282282
if (!block) return;
283283
const { height, timestamp, epoch } = block;
284-
console.log('Head is now at', height);
284+
console.debug('Nimiq head is now at', height);
285285
patchNetworkStore({ height, timestamp });
286286

287287
// The NanoApi did recheck all balances on every block

0 commit comments

Comments
 (0)