Bump dev, arrow functions (#2077)

This commit is contained in:
Jaco Greeff
2020-03-22 07:31:55 +01:00
committed by GitHub
parent 0c0e4c4d7c
commit b3a6b3dcb5
16 changed files with 54 additions and 44 deletions
@@ -24,7 +24,7 @@ async function main () {
if (validators && validators.length > 0) {
// Retrieve the balances for all validators
const validatorBalances = await Promise.all(
validators.map(authorityId =>
validators.map((authorityId) =>
api.query.system.account(authorityId)
)
);