Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ impl BlockChainClient for Client {
impl TermInfo for Client {
fn last_term_finished_block_num(&self, id: BlockId) -> Option<BlockNumber> {
self.state_at(id)
.map(|state| state.metadata().unwrap().expect("Meatadata always exist"))
.map(|state| state.metadata().unwrap().expect("Metadata always exist"))
.map(|metadata| metadata.last_term_finished_block_num())
}

Expand Down
2 changes: 1 addition & 1 deletion spec/JSON-RPC.md
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ It returns null if the block number parameter is larger than the current best bl
```
curl \
-H 'Content-Type: application/json' \
-d '{"jsonrpc": "2.0", "method": "chain_getMeatadataSeq", "params": [53], "id": 7}' \
-d '{"jsonrpc": "2.0", "method": "chain_getMetadataSeq", "params": [53], "id": 7}' \
localhost:8080
```

Expand Down