Skip to content

Commit

Permalink
Update crates/radix-engine-toolkit-uniffi/src/common/access_rules.rs
Browse files Browse the repository at this point in the history
Co-authored-by: David Edey <david.edey@rdx.works>
  • Loading branch information
0xOmarA and dhedey authored Jan 27, 2025
1 parent 663b95a commit 7b31ced
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub struct AccessRule(pub NativeAccessRule);
#[uniffi::export]
impl AccessRule {
#[uniffi::constructor]
pub fn from_scrypto_sbor_payloda(payload: Vec<u8>) -> Result<Arc<Self>> {
pub fn from_scrypto_sbor_payload(payload: Vec<u8>) -> Result<Arc<Self>> {
native_scrypto_decode(&payload)
.map_err(RadixEngineToolkitError::from)
.map(Self)
Expand Down

0 comments on commit 7b31ced

Please sign in to comment.