Skip to content

Commit

Permalink
Modify the comment, about generate_otx_a5_fail
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 committed Mar 5, 2024
1 parent 94c6371 commit 22cee12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/omni_lock_rust/tests/test_otx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ fn generate_otx_a4_fail(dl: &mut Resource, px: &mut Pickaxer) -> ckb_types::core
tx.as_advanced_builder().set_witnesses(witnesses).build()
}

// Failed: None header
// Failed: None header and otx->header_deps not zero
fn generate_otx_a5_fail(dl: &mut Resource, px: &mut Pickaxer) -> ckb_types::core::TransactionView {
let tx = generate_otx_a0(dl, px);
tx.as_advanced_builder().set_header_deps(vec![]).build()
Expand Down

0 comments on commit 22cee12

Please sign in to comment.