File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 101101 let cursor = Math . floor ( answer . oldest . id - rate * ( answer . oldest . epoch - until ) )
102102 for ( ; ; ) {
103103 answer = await getAtCursor ( cursor )
104- console . log ( `got answer ${ JSON . stringify ( answer ) } for cursor ${ cursor } ` )
104+ console . error ( `got answer ${ JSON . stringify ( answer ) } for cursor ${ cursor } ` )
105105 if ( answer . newest ) break
106106 rate /= 2
107107 const newCursor = Math . floor ( previousAnswer . oldest . id - rate * ( previousAnswer . oldest . epoch - until ) )
108108 if ( newCursor === cursor ) break
109109 cursor = newCursor
110110 }
111- console . log ( `got final answer ${ JSON . stringify ( answer ) } for cursor ${ cursor } ` )
111+ console . error ( `got final answer ${ JSON . stringify ( answer ) } for cursor ${ cursor } ` )
112112 }
113113
114114 while ( answer . newest ?. epoch && answer . newest . epoch < until ) {
You can’t perform that action at this time.
0 commit comments