Skip to content

Commit 762286a

Browse files
liangmulucronokirby
authored andcommitted
chore: fix some minor issues in comments
Signed-off-by: liangmulu <liangmulu@outlook.com>
1 parent 6fa46a4 commit 762286a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/bin/pclientd/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub enum Command {
131131
///
132132
/// If this is present, it will be assumed to be an HTTP URL. If the URL ends in ".json",
133133
/// it's assumed to be a specific registry file, which will be fetched. If the URL
134-
/// does not end in ".json", it will be concatened with the chain id pclientd has,
134+
/// does not end in ".json", it will be concatenated with the chain id pclientd has,
135135
/// in the assumption that this points to a folder of registry files.
136136
///
137137
/// If the URL starts with "file://" instead of "https://" or "http://", then

crates/bin/pd/src/network/generate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ impl NetworkValidator {
522522
pub fn from_reader(input: impl Read) -> Result<Vec<NetworkValidator>> {
523523
Ok(serde_json::from_reader(input)?)
524524
}
525-
/// Generate iniital delegation allocation for inclusion in genesis.
525+
/// Generate initial delegation allocation for inclusion in genesis.
526526
pub fn delegation_allocation(&self) -> Result<Allocation> {
527527
let spend_key = SpendKey::from(self.keys.validator_spend_key.clone());
528528
let fvk = spend_key.full_viewing_key();

crates/bin/pmonitor/tests/network_integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async fn audit_passes_on_wallets_that_migrated_once() -> anyhow::Result<()> {
7676
/// one of the wallets ran `pcli migrate balance` once, then that receiving
7777
/// wallet ran `pcli migrate balance` itself, so the genesis funds are now
7878
/// two (2) FVKs away from the original account. In this case,
79-
/// pmonitor` should exit 0, because it understood all balance migrations
79+
/// `pmonitor` should exit 0, because it understood all balance migrations
8080
/// and updated the FVK in its config file accordingly.
8181
async fn audit_passes_on_wallets_that_migrated_twice() -> anyhow::Result<()> {
8282
let p = PmonitorTestRunner::new();

0 commit comments

Comments
 (0)