From 9a1f4e9672ad2502ea3364ae385cd9c9cc166062 Mon Sep 17 00:00:00 2001 From: TLDMain <119927819+TLDMain@users.noreply.github.com> Date: Thu, 28 Aug 2025 13:27:13 +0000 Subject: [PATCH 1/4] upd: export Error enum --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 14ebaf5..b411e92 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,11 +16,11 @@ use { Address, Amount, EcdsaSighashType, OutPoint, PrivateKey, PublicKey, ScriptBuf, Sequence, Transaction, TxIn, TxOut, Witness, }, - error::Error, sha2::{Digest, Sha256}, snafu::{ResultExt, Snafu}, std::str::FromStr, }; +pub use error::Error; mod error; mod sign; From 9473246708037f18562ec53bb2dfbb123dbae97b Mon Sep 17 00:00:00 2001 From: raphjaph Date: Fri, 5 Sep 2025 09:18:06 -0400 Subject: [PATCH 2/4] Amend --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b411e92..944a10b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,4 @@ +pub use error::Error; use { base64::{engine::general_purpose, Engine}, bitcoin::{ @@ -20,7 +21,6 @@ use { snafu::{ResultExt, Snafu}, std::str::FromStr, }; -pub use error::Error; mod error; mod sign; From 8e83964ca83b280b2efb8b261ffea59508b55089 Mon Sep 17 00:00:00 2001 From: raphjaph Date: Fri, 5 Sep 2025 09:20:46 -0400 Subject: [PATCH 3/4] Amend --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 944a10b..94de80a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,3 @@ -pub use error::Error; use { base64::{engine::general_purpose, Engine}, bitcoin::{ @@ -27,9 +26,10 @@ mod sign; mod util; mod verify; -pub use {sign::*, util::*, verify::*}; +pub use {error::Error, sign::*, util::*, verify::*}; -type Result = std::result::Result; +t git push origin HEAD:refs/pull/61/head +ype Result = std::result::Result; #[cfg(test)] mod tests { From 11c4045b05025c531b368d77ec5a966490007588 Mon Sep 17 00:00:00 2001 From: raphjaph Date: Fri, 5 Sep 2025 09:21:25 -0400 Subject: [PATCH 4/4] Amend --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 94de80a..607205b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,8 +28,7 @@ mod verify; pub use {error::Error, sign::*, util::*, verify::*}; -t git push origin HEAD:refs/pull/61/head -ype Result = std::result::Result; +type Result = std::result::Result; #[cfg(test)] mod tests {