Skip to content

Commit a865724

Browse files
committed
Fix doc spelling
1 parent 2d98d17 commit a865724

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/psbt/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -815,10 +815,10 @@ impl PsbtExt for Psbt {
815815

816816
/// Extension trait for PSBT inputs
817817
pub trait PsbtInputExt {
818-
/// Given the decriptor for utxo being spent, populate the input with all the required fields to
818+
/// Given the descriptor for utxo being spent, populate the input with all the required fields to
819819
/// spend it.
820820
///
821-
/// If the descriptor contains wilcards or otherwise cannot be transformed into a concrete
821+
/// If the descriptor contains wildcards or otherwise cannot be transformed into a concrete
822822
/// descriptor an error will returned. The descriptor *can* (and should) have extended keys in
823823
/// it so PSBT fields like `bip32_derivation` and `tap_key_origins` can be populated.
824824
///
@@ -831,7 +831,7 @@ pub trait PsbtInputExt {
831831
/// ignored are `witness_utxo` missing on a non-segwit descriptor and `non_witness_utxo` missing
832832
/// on a taproot descriptor.
833833
///
834-
/// Note that it may be suprising that `non_witness_utxo` would ever be required on a segwit
834+
/// Note that it may be surprising that `non_witness_utxo` would ever be required on a segwit
835835
/// output but some PSBT signers require it to be set because of the [*segwit
836836
/// bug*](https://bitcoinhackers.org/@lukedashjr/104287698361196952) which was fixed in the
837837
/// design of segwitv1 (taproot).

0 commit comments

Comments
 (0)