Skip to content

Commit

Permalink
fix some test case
Browse files Browse the repository at this point in the history
  • Loading branch information
douyixuan committed Oct 11, 2024
1 parent a30b761 commit 16a8c8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/examples/sudt.cell
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/xudt.cell
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16a8c8d

Please sign in to comment.