Skip to content

Commit 6d74b28

Browse files
committed
Fix typo meatdata
1 parent 5332d40 commit 6d74b28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/client/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ impl BlockChainClient for Client {
811811
impl TermInfo for Client {
812812
fn last_term_finished_block_num(&self, id: BlockId) -> Option<BlockNumber> {
813813
self.state_at(id)
814-
.map(|state| state.metadata().unwrap().expect("Meatadata always exist"))
814+
.map(|state| state.metadata().unwrap().expect("Metadata always exist"))
815815
.map(|metadata| metadata.last_term_finished_block_num())
816816
}
817817

spec/JSON-RPC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ It returns null if the block number parameter is larger than the current best bl
14891489
```
14901490
curl \
14911491
-H 'Content-Type: application/json' \
1492-
-d '{"jsonrpc": "2.0", "method": "chain_getMeatadataSeq", "params": [53], "id": 7}' \
1492+
-d '{"jsonrpc": "2.0", "method": "chain_getMetadataSeq", "params": [53], "id": 7}' \
14931493
localhost:8080
14941494
```
14951495

0 commit comments

Comments
 (0)