docs: fix spelling errors

This commit is contained in:
Steve Myers
2023-08-21 15:01:08 -05:00
parent c20a4da9fc
commit 94f8fa530b
11 changed files with 31 additions and 28 deletions

View File

@@ -2,4 +2,4 @@
This is a directory for crates that are experimental and have not been released yet.
Keep in mind that they may never be released.
Things in `/example-crates` may use them to demonsrate how things might look in the future.
Things in `/example-crates` may use them to demonstrate how things might look in the future.

View File

@@ -35,7 +35,7 @@ pub struct PlanKey<Ak> {
impl<Ak> TemplateItem<Ak> {
pub fn expected_size(&self) -> usize {
match self {
TemplateItem::Sign { .. } => 64, /* size of sig TODO: take into consideration sighash falg */
TemplateItem::Sign { .. } => 64, /* size of sig TODO: take into consideration sighash flag */
TemplateItem::Pk { .. } => 32,
TemplateItem::One => varint_len(1),
TemplateItem::Zero => 0, /* zero means an empty witness element */