diff --git a/tests/examples/sudt.cell b/tests/examples/sudt.cell index 7cab55c..52cbb14 100644 --- a/tests/examples/sudt.cell +++ b/tests/examples/sudt.cell @@ -12,7 +12,7 @@ const ( func main() { script := ckb.loadScript() - if !ckb.verifyScript(script) { + if !ckb.verifyScript(script, true) { return ERROR_SCRIPT_ERROR } rawArgs := script.Args().AsSlice() diff --git a/tests/examples/xudt.cell b/tests/examples/xudt.cell index 42fdab0..855121f 100644 --- a/tests/examples/xudt.cell +++ b/tests/examples/xudt.cell @@ -156,7 +156,7 @@ func main() { ins := Inputs() args := script.args val := getFlagFromArgs(args) - owner_mode_for_input_type, owner_mode_for_input_lock, owner_mode_for_output_type := getOwnerModeCheckMethod() + owner_mode_for_input_type, owner_mode_for_input_lock, owner_mode_for_output_type := getOwnerModeCheckMethod(val) // owner mode checking var owner_mode bool