Skip to content

Commit

Permalink
chore: feature gate signed data
Browse files Browse the repository at this point in the history
Signed-off-by: aeryz <[email protected]>
  • Loading branch information
aeryz committed Mar 5, 2025
1 parent f484389 commit 2382311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/unionlabs/src/aptos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pub mod ledger_info;
pub mod object;
pub mod public_key;
pub mod signature;
#[cfg(feature = "bincode")]
pub mod signed_data;
pub mod sparse_merkle_proof;
pub mod state_proof;
Expand Down
2 changes: 1 addition & 1 deletion lib/unionlabs/src/aptos/signed_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use unionlabs_primitives::H512;
use crate::encoding::{Bincode, Encode};

#[model]
#[cfg_attr(feature = "bincode", derive(bincode::Encode, bincode::Decode))]
#[derive(bincode::Encode, bincode::Decode)]
pub struct SignedData<T> {
pub signature: H512,
pub data: T,
Expand Down

0 comments on commit 2382311

Please sign in to comment.