Default top accounts to all accounts

This commit is contained in:
Tyera Eulberg
2020-05-26 10:12:03 -06:00
committed by Michael Vines
parent a15ea32f16
commit 3f12bf6f52
2 changed files with 4 additions and 6 deletions

View File

@@ -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 => {