Skip to content

Commit

Permalink
Fix some typos (#4227)
Browse files Browse the repository at this point in the history
Signed-off-by: renshuncui <[email protected]>
  • Loading branch information
renshuncui authored Feb 13, 2025
1 parent cd64012 commit 235befe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6753,7 +6753,7 @@ mod tests {

#[test]
fn assert_schema_statistic_key_is_zero() {
// other schema statistic keys may chenge when the schema changes, but for
// other schema statistic keys may change when the schema changes, but for
// good error messages in older versions, the schema statistic key must be
// zero
assert_eq!(Statistic::Schema.key(), 0);
Expand Down
2 changes: 1 addition & 1 deletion src/subcommand/wallet/offer/accept.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl Accept {

{
let signed_tx = Transaction::consensus_decode(&mut signed_tx.as_slice())
.context("unable to decode finalized transction")?;
.context("unable to decode finalized transaction")?;

ensure! {
signed_tx.input.len() == psbt.inputs.len() &&
Expand Down
2 changes: 1 addition & 1 deletion src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ impl Wallet {
self
.output_info
.get(output)
.ok_or(anyhow!("outpout not found in wallet"))?
.ok_or(anyhow!("output not found in wallet"))?
.inscriptions
.clone(),
)
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/wallet_constructor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl WalletConstructor {
if !self.no_sync {
for i in 0.. {
let ord_block_count = self.get("/blockcount")?.text()?.parse::<u64>().expect(
"wallet failed to retreive block count from server. Make sure `ord server` is running.",
"wallet failed to retrieve block count from server. Make sure `ord server` is running.",
);

if ord_block_count >= bitcoin_block_count {
Expand Down

0 comments on commit 235befe

Please sign in to comment.