Default top accounts to all accounts
This commit is contained in:
committed by
Michael Vines
parent
a15ea32f16
commit
3f12bf6f52
@@ -49,9 +49,7 @@ async function fetch(dispatch: Dispatch, url: string) {
|
||||
try {
|
||||
const connection = new Connection(url, "max");
|
||||
const supply = (await connection.getSupply()).value;
|
||||
const accounts = (
|
||||
await connection.getLargestAccounts({ filter: "circulating" })
|
||||
).value;
|
||||
const accounts = (await connection.getLargestAccounts()).value;
|
||||
|
||||
// Update state if still connecting
|
||||
dispatch(state => {
|
||||
|
Reference in New Issue
Block a user