Fixed typos about module balances (#1402)

This commit is contained in:
Julien Eluard
2019-09-17 18:33:33 +02:00
committed by Jaco Greeff
parent ceee734ab1
commit 564964a482
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -44,8 +44,8 @@ In addition to using `api.query` to make actual on-chain queries, it can also be
// retrieve the hash & size of the entry as stored on-chain
const [entryHash, entrySize] = await Promise.all([
api.query.freeBalance.hash(ADDR),
api.query.freeBalance.size(ADDR)
api.query.balances.freeBalance.hash(ADDR),
api.query.balances.freeBalance.size(ADDR)
]);
// output the info