fix: remove console.warn to pass lint (#170)
This commit is contained in:
parent
bd5c661504
commit
d72c2d14bf
1 changed files with 0 additions and 2 deletions
|
|
@ -96,8 +96,6 @@ function weiToEth(wei: string | null | undefined): number {
|
||||||
*/
|
*/
|
||||||
function extractSeries(ringBuffer: string[], pointer: number, slotOffset: number): number[] {
|
function extractSeries(ringBuffer: string[], pointer: number, slotOffset: number): number[] {
|
||||||
if (ringBuffer.length !== RING_HOURS * RING_SEGMENTS) {
|
if (ringBuffer.length !== RING_HOURS * RING_SEGMENTS) {
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.warn(`Ring buffer size mismatch: expected ${RING_HOURS * RING_SEGMENTS}, got ${ringBuffer.length}`);
|
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
const raw: number[] = [];
|
const raw: number[] = [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue