diff --git a/contracts/cluster_proxy/src/entry.rs b/contracts/cluster_proxy/src/entry.rs index 03064cb..0bb58c3 100644 --- a/contracts/cluster_proxy/src/entry.rs +++ b/contracts/cluster_proxy/src/entry.rs @@ -70,7 +70,7 @@ fn process_transfer() -> Result<(), Error> { return Err(Error::SporeActionMismatch); }; if input_data.as_slice() != transfer.cluster_id().as_slice() - || load_type_args(0, GroupInput).as_ref() != transfer.proxy_id().as_slice() + || load_type_args(0, GroupInput)[..32] != transfer.proxy_id().as_slice() { return Err(Error::SporeActionFieldMismatch); }