Skip to content

Commit

Permalink
Fix typos (#244)
Browse files Browse the repository at this point in the history
* typo

* use consistent log messages when printing tx sigs
  • Loading branch information
skrrb authored Feb 14, 2023
1 parent 35787f5 commit 289ecf7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/burn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub async fn burn_one(

let sig = burn(args).await?;

println!("TxId: {sig}");
println!("Tx sig: {sig}");

Ok(())
}
Expand Down Expand Up @@ -76,7 +76,7 @@ pub async fn burn_print_one(

let sig = burn_print(args).await?;

println!("TxId: {sig}");
println!("Tx sig: {sig}");

Ok(())
}
Expand Down
4 changes: 2 additions & 2 deletions src/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ pub fn mint_one<P: AsRef<Path>>(
max_editions,
sized,
)?;
info!("Tx id: {:?}\nMint account: {:?}", &tx_id, &mint_account);
let message = format!("Tx id: {:?}\nMint account: {:?}", &tx_id, &mint_account,);
info!("Tx sig: {:?}\nMint account: {:?}", &tx_id, &mint_account);
let message = format!("Tx sig: {:?}\nMint account: {:?}", &tx_id, &mint_account,);
println!("{message}");
if sign {
//TODO: Error handling
Expand Down
2 changes: 1 addition & 1 deletion src/opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ pub enum UpdateSubcommands {
#[structopt(short = "a", long)]
mint: String,
},
/// REmove the rule set from a batch of pNFTs.
/// Remove the rule set from a batch of pNFTs.
ClearRuleSetAll {
/// Path to the creator's keypair file
#[structopt(short, long)]
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn send_and_confirm_transaction(

let sig = res?;

println!("TxId: {sig}");
println!("Tx sig: {sig}");
Ok(sig.to_string())
}

Expand Down

0 comments on commit 289ecf7

Please sign in to comment.