diff --git a/tests/omni_lock_rust/tests/misc.rs b/tests/omni_lock_rust/tests/misc.rs index 19f1299..067fa47 100644 --- a/tests/omni_lock_rust/tests/misc.rs +++ b/tests/omni_lock_rust/tests/misc.rs @@ -623,7 +623,7 @@ pub fn sign_tx_by_input_group( let mut preimage_hash: Bytes = Default::default(); let message = if config.cobuild_enabled { - cobuild_generate_signing_message_hash(&config.cobuild_message, dummy, &tx) + cobuild_generate_signing_message_hash(&Some(config.cobuild_message.clone()), dummy, &tx) } else { let mut blake2b = ckb_hash::new_blake2b(); let mut message = [0u8; 32];