Merge pull request #189 from ArtemKolodko/fix_missed_shard_balance

Fix missing shard balance response
pull/191/head
Artem 3 years ago committed by GitHub
commit 325db8dd82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/api/rpc.ts

@ -126,7 +126,7 @@ export const getAllBalance = (params: [string, "latest"]) => {
}
),
]).then((arr) => {
return Promise.resolve(arr.map((item) => item.result));
return Promise.resolve(arr.map((item) => item.result || '0x0'));
});
};

Loading…
Cancel
Save