mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
chore(docs): improve some comments (#13937)
* chore(docs): improve some comments * Update client/network/common/src/sync/message.rs Co-authored-by: Koute <koute@users.noreply.github.com> * Update client/rpc-api/src/chain/mod.rs Co-authored-by: Koute <koute@users.noreply.github.com> * Update client/rpc/src/chain/mod.rs Co-authored-by: Koute <koute@users.noreply.github.com> * Update client/rpc/src/chain/mod.rs Co-authored-by: Koute <koute@users.noreply.github.com> * Update frame/staking/src/pallet/impls.rs Co-authored-by: Koute <koute@users.noreply.github.com> --------- Co-authored-by: Koute <koute@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ pub trait ChainApi<Number, Hash, Header, SignedBlock> {
|
||||
#[method(name = "chain_getHeader", blocking)]
|
||||
fn header(&self, hash: Option<Hash>) -> RpcResult<Option<Header>>;
|
||||
|
||||
/// Get header and body of a relay chain block.
|
||||
/// Get header and body of a block.
|
||||
#[method(name = "chain_getBlock", blocking)]
|
||||
fn block(&self, hash: Option<Hash>) -> RpcResult<Option<SignedBlock>>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user