We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a5e9d1 commit 01bf580Copy full SHA for 01bf580
utils/src/index.ts
@@ -1,6 +1,6 @@
1
import * as dotenv from 'dotenv';
2
import * as getopts from 'getopts';
3
-import * as bigint from 'extra-bigint';
+import * as extra_bigint from 'extra-bigint';
4
import { table } from 'table';
5
import { StacksCoreRpcClient } from '../../src/core-rpc/client';
6
import { PgDataStore } from '../../src/datastore/postgres-store';
@@ -106,7 +106,7 @@ async function printTopAccountBalances(count: number, blockHeight: number) {
106
item.address,
107
item.apiBalance,
108
item.nodeBalance,
109
- bigint.abs((item.apiBalance ?? BigInt(0)) - (item.nodeBalance ?? BigInt(0))),
+ extra_bigint.abs((item.apiBalance ?? BigInt(0)) - (item.nodeBalance ?? BigInt(0))),
110
]);
111
});
112
console.log(table(tabularData));
0 commit comments