mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 05:21:08 +00:00
chore: fix some typos in comment (#1898)
Signed-off-by: davidwoood <davidwood@aliyun.com>
This commit is contained in:
@@ -29,7 +29,7 @@ use subxt_metadata::RuntimeApiMetadata;
|
||||
/// true => validate (trailing args + build node connection)
|
||||
/// validation is:
|
||||
/// Err => Show Error
|
||||
/// Ok => Make a runtime api call witht the provided args.
|
||||
/// Ok => Make a runtime api call with the provided args.
|
||||
/// response is:
|
||||
/// Err => Show Error
|
||||
/// Ok => Show the result
|
||||
|
||||
@@ -202,7 +202,7 @@ struct BackgroundTaskChannels<TPlatform: PlatformRef> {
|
||||
struct BackgroundTaskData<TPlatform: PlatformRef, TChain> {
|
||||
/// A smoldot light client that can be shared.
|
||||
client: SharedClient<TPlatform, TChain>,
|
||||
/// Knowing the chain ID helps with debugging, but isn't overwise necessary.
|
||||
/// Knowing the chain ID helps with debugging, but isn't otherwise necessary.
|
||||
chain_id: smoldot_light::ChainId,
|
||||
/// Know which Id to use next for new requests/subscriptions.
|
||||
last_request_id: usize,
|
||||
|
||||
@@ -44,7 +44,7 @@ impl TypeSet {
|
||||
}
|
||||
}
|
||||
|
||||
/// This function will deeply traverse the inital type and it's dependencies to collect the relevant type_ids
|
||||
/// This function will deeply traverse the initial type and it's dependencies to collect the relevant type_ids
|
||||
fn collect_types(&mut self, metadata: &Metadata, id: u32) {
|
||||
self.push_to_workset(id);
|
||||
while let Some(typ) = self.work_set.pop() {
|
||||
|
||||
Reference in New Issue
Block a user