Skip to content

Commit

Permalink
Merge pull request #7 from bkchr/bkchr-finalized-block
Browse files Browse the repository at this point in the history
Use correct function name
  • Loading branch information
josepot authored May 20, 2024
2 parents 5743df3 + fad9011 commit 0dbab53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/snippets/gettingStarted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { createClient } from "polkadot-api"
// [!region usage]
// With the `client`, you can get information such as subscribing to the last
// block to get the latest hash:
client.finalized$.subscribe((finalizedBlock) =>
client.finalizedBlock$.subscribe((finalizedBlock) =>
console.log(finalizedBlock.number, finalizedBlock.hash),
)

Expand Down

0 comments on commit 0dbab53

Please sign in to comment.