Skip to content

Commit e3c582c

Browse files
authored
Merge pull request #23 from dspicher/master
account: fix error message typos
2 parents 4aeec76 + 0944997 commit e3c582c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/account.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ impl Account {
677677
}
678678
AccountAddressType::P2WPKH => {
679679
if hash_type.as_u32() & SigHashType::All.as_u32() == 0 {
680-
return Err(Error::Unsupported("can only sig all inputs for now"));
680+
return Err(Error::Unsupported("can only sign all inputs for now"));
681681
}
682682
input.script_sig = Script::new();
683683
let hasher =
@@ -698,7 +698,7 @@ impl Account {
698698
}
699699
AccountAddressType::P2SHWPKH => {
700700
if hash_type.as_u32() & SigHashType::All.as_u32() == 0 {
701-
return Err(Error::Unsupported("can only sig all inputs for now"));
701+
return Err(Error::Unsupported("can only sign all inputs for now"));
702702
}
703703
input.script_sig = Builder::new()
704704
.push_slice(
@@ -730,7 +730,7 @@ impl Account {
730730
}
731731
AccountAddressType::P2WSH(_) => {
732732
if hash_type.as_u32() & SigHashType::All.as_u32() == 0 {
733-
return Err(Error::Unsupported("can only sig all inputs for now"));
733+
return Err(Error::Unsupported("can only sign all inputs for now"));
734734
}
735735
input.script_sig = Script::new();
736736
let hasher =

0 commit comments

Comments
 (0)