Swap to registry.createType (#1947)

This commit is contained in:
Jaco Greeff
2020-02-26 11:17:11 +01:00
committed by GitHub
parent 333ff8528b
commit 8598002801
62 changed files with 209 additions and 235 deletions
@@ -19,7 +19,7 @@ async function main () {
const alice = keyring.addFromUri('//Alice');
// Get nonce for account
const [{ nonce } = await api.query.system.account(alice.address);
const { nonce } = await api.query.system.account(alice.address);
// Get current block
const signedBlock = await api.rpc.chain.getBlock();