Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/src/helper/bip322.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
};

Expand Down
2 changes: 1 addition & 1 deletion test_sdk/src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions test_sdk/src/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down