Skip to content

Commit

Permalink
Merge pull request #271 from crisdut/fix/typo
Browse files Browse the repository at this point in the history
fix: typo
  • Loading branch information
dr-orlovsky authored Jan 10, 2025
2 parents e6adad0 + f5f35b9 commit 5cdfef8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cli/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ impl Args {
let mound = self.mound();
for info in mound.contracts_info() {
println!("---");
println!("{}", serde_yaml::to_string(&info).expect("Uenable to generate YAML"));
println!("{}", serde_yaml::to_string(&info).expect("Unable to generate YAML"));
}
}

Expand Down Expand Up @@ -416,7 +416,7 @@ impl Args {
Cmd::State { wallet, all, global, owned, contract } => {
let mut runtime = self.runtime(wallet.wallet.as_deref());
if wallet.sync {
let indexer = self.indexer(&wallet.reslover);
let indexer = self.indexer(&wallet.resolver);
match self.seal {
SealType::BitcoinOpret => runtime.wallet_opret().update(&indexer),
SealType::BitcoinTapret => runtime.wallet_tapret().update(&indexer),
Expand Down Expand Up @@ -554,6 +554,7 @@ impl Args {
barrow.attest(&bundle, &tx.into(), mpc, dbc, &prevouts);
}
};

psbt.encode(
psbt.version,
&mut File::create(psbt_file).expect("Unable to write PSBT"),
Expand Down
2 changes: 1 addition & 1 deletion cli/src/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ pub struct WalletOpts {
pub sync: bool,

#[clap(flatten)]
pub reslover: ResolverOpt,
pub resolver: ResolverOpt,
}

0 comments on commit 5cdfef8

Please sign in to comment.