Skip to content

Commit

Permalink
Amend
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph committed Aug 22, 2024
1 parent 23b751f commit 1bfca3e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ pub fn simple(address: &Address, message: &[u8], private_key: PrivateKey) -> Res
}

/// Signs in the BIP-322 full format from proper Rust types and returns the full transaction.
pub fn full(
address: &Address,
message: &[u8],
private_key: PrivateKey,
) -> Result<Transaction> {
pub fn full(address: &Address, message: &[u8], private_key: PrivateKey) -> Result<Transaction> {
let to_spend = create_to_spend(address, message)?;
let mut to_sign = create_to_sign(&to_spend, None)?;

Expand Down

0 comments on commit 1bfca3e

Please sign in to comment.