From 291c4db575558592ed26ff8d8125923df8db2a32 Mon Sep 17 00:00:00 2001 From: NikolaiKryshnev <63440682+NikolaiKryshnev@users.noreply.github.com> Date: Tue, 10 Jun 2025 21:55:58 +0300 Subject: [PATCH 1/3] fix: correct spelling of "unsupported" in bip322.rs --- sdk/src/helper/bip322.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/src/helper/bip322.rs b/sdk/src/helper/bip322.rs index f3ab648..542c5c5 100644 --- a/sdk/src/helper/bip322.rs +++ b/sdk/src/helper/bip322.rs @@ -43,12 +43,12 @@ pub fn sign_message_bip322( create_message_signature_taproot(&to_spend, &to_sign, private_key) } _ => { - panic!("unsuported address"); + panic!("unsupported address"); } } } None => { - panic!("unsuported address"); + panic!("unsupported address"); } }; From 77891c01b2bc64980f35e34eee0d07b27ceff320 Mon Sep 17 00:00:00 2001 From: NikolaiKryshnev <63440682+NikolaiKryshnev@users.noreply.github.com> Date: Tue, 10 Jun 2025 21:56:41 +0300 Subject: [PATCH 2/3] fix: correct typos in bip322.rs and helper.rs --- test_sdk/src/helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_sdk/src/helper.rs b/test_sdk/src/helper.rs index 264bc5d..8304f47 100644 --- a/test_sdk/src/helper.rs +++ b/test_sdk/src/helper.rs @@ -38,7 +38,7 @@ pub fn prepare_fees() -> String { BITCOIN_NODE_PASSWORD.to_string(), ); let rpc = - Client::new(BITCOIN_NODE_ENDPOINT, userpass).expect("rpc shouldn not fail to be initiated"); + Client::new(BITCOIN_NODE_ENDPOINT, userpass).expect("rpc should not fail to be initiated"); let caller = CallerInfo::with_secret_key_file(CALLER_FILE_PATH) .expect("getting caller info should not fail"); From ae1a4d75b4445c8e5ab714fb7ff9a64b477dae3b Mon Sep 17 00:00:00 2001 From: NikolaiKryshnev <63440682+NikolaiKryshnev@users.noreply.github.com> Date: Tue, 10 Jun 2025 22:01:25 +0300 Subject: [PATCH 3/3] fix: correct typo in instructions.rs --- test_sdk/src/instructions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_sdk/src/instructions.rs b/test_sdk/src/instructions.rs index b71e21e..e2e0600 100644 --- a/test_sdk/src/instructions.rs +++ b/test_sdk/src/instructions.rs @@ -158,8 +158,8 @@ pub fn approve( BITCOIN_NETWORK, ); - let processed_transactioins = send_transactions_and_wait(vec![transaction]); - assert_eq!(processed_transactioins[0].status, Status::Processed); + let processed_transactions = send_transactions_and_wait(vec![transaction]); + assert_eq!(processed_transactions[0].status, Status::Processed); } pub fn revoke(