Skip to content

Commit 01bf580

Browse files
committed
fix: try setting different name for bigint extras
1 parent 3a5e9d1 commit 01bf580

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as dotenv from 'dotenv';
22
import * as getopts from 'getopts';
3-
import * as bigint from 'extra-bigint';
3+
import * as extra_bigint from 'extra-bigint';
44
import { table } from 'table';
55
import { StacksCoreRpcClient } from '../../src/core-rpc/client';
66
import { PgDataStore } from '../../src/datastore/postgres-store';
@@ -106,7 +106,7 @@ async function printTopAccountBalances(count: number, blockHeight: number) {
106106
item.address,
107107
item.apiBalance,
108108
item.nodeBalance,
109-
bigint.abs((item.apiBalance ?? BigInt(0)) - (item.nodeBalance ?? BigInt(0))),
109+
extra_bigint.abs((item.apiBalance ?? BigInt(0)) - (item.nodeBalance ?? BigInt(0))),
110110
]);
111111
});
112112
console.log(table(tabularData));

0 commit comments

Comments
 (0)