From 19a5fe79845adc77dbe4c78abb5c0e544232fbd2 Mon Sep 17 00:00:00 2001 From: David Edey Date: Tue, 15 Oct 2024 11:19:01 +0100 Subject: [PATCH] fix: Expose methods on `TransactionV2BuilderSignatureStep` --- .../src/builder/transaction_v2_builder.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/radix-engine-toolkit-uniffi/src/builder/transaction_v2_builder.rs b/crates/radix-engine-toolkit-uniffi/src/builder/transaction_v2_builder.rs index 7b81ff7f..f5d3e986 100644 --- a/crates/radix-engine-toolkit-uniffi/src/builder/transaction_v2_builder.rs +++ b/crates/radix-engine-toolkit-uniffi/src/builder/transaction_v2_builder.rs @@ -176,6 +176,7 @@ pub struct TransactionV2BuilderSignatureStep { signed_transaction_intent: SignedTransactionIntentV2, } +#[uniffi::export] impl TransactionV2BuilderSignatureStep { pub fn sign_with_private_key( self: Arc, @@ -223,7 +224,7 @@ impl TransactionV2BuilderSignatureStep { pub fn notarize_with_signer( self: Arc, - private_key: Arc, + private_key: Box, ) -> Result> { let signed_transaction_intent_hash = self.signed_transaction_intent.signed_intent_hash()?.0;