Skip to content

Commit

Permalink
fix: Expose methods on TransactionV2BuilderSignatureStep
Browse files Browse the repository at this point in the history
  • Loading branch information
dhedey committed Oct 15, 2024
1 parent 69e3720 commit 19a5fe7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ pub struct TransactionV2BuilderSignatureStep {
signed_transaction_intent: SignedTransactionIntentV2,
}

#[uniffi::export]
impl TransactionV2BuilderSignatureStep {
pub fn sign_with_private_key(
self: Arc<Self>,
Expand Down Expand Up @@ -223,7 +224,7 @@ impl TransactionV2BuilderSignatureStep {

pub fn notarize_with_signer(
self: Arc<Self>,
private_key: Arc<dyn Signer>,
private_key: Box<dyn Signer>,
) -> Result<Arc<NotarizedTransactionV2>> {
let signed_transaction_intent_hash =
self.signed_transaction_intent.signed_intent_hash()?.0;
Expand Down

0 comments on commit 19a5fe7

Please sign in to comment.