FAQ entry for Weight adjustment (#2188)

* FAQ entry for Weight adjustment

* CHANGELOG entry for rxjs Observable exposure

* Event decoding
This commit is contained in:
Jaco Greeff
2020-04-16 21:29:22 +02:00
committed by GitHub
parent 7f35fa22d5
commit 4e1145c66f
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ In the first example we are querying a double-map, so we supply 1 argument. No a
const keys = await api.query.staking.nominators.keys();
// extract the first key argument [AccountId] as string
const nominatorIds = keys.map(({ args: [nominatorId]) => nominatorId);
const nominatorIds = keys.map(({ args: [nominatorId] }) => nominatorId);
console.log('all nominators:', nominatorIds.join(', '));
```