Skip to content

Commit

Permalink
switch to the used getBlockByHeightV2 function in polkadot (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
faboweb authored Mar 31, 2020
1 parent 82f9f87 commit 9732053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/source/polkadotV0-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class polkadotAPI {
return block.block.header.number.toNumber()
}

async getBlockByHeight(blockHeight) {
async getBlockByHeightV2(blockHeight) {
const api = await this.getAPI()

// heavy nesting to provide optimal parallelization here
Expand Down

0 comments on commit 9732053

Please sign in to comment.