util: Run the formatter
Run `cargo +nightly fmt`, no other manual changes.
This commit is contained in:
parent
d210d2ac83
commit
3f16b6bf9f
|
@ -42,12 +42,14 @@ pub mod misc {
|
|||
break;
|
||||
}
|
||||
} else {
|
||||
i += match opcodes::All::from((*haystack)[i]).classify(opcodes::ClassifyContext::Legacy) {
|
||||
i += match opcodes::All::from((*haystack)[i])
|
||||
.classify(opcodes::ClassifyContext::Legacy)
|
||||
{
|
||||
opcodes::Class::PushBytes(n) => n as usize + 1,
|
||||
opcodes::Class::Ordinary(opcodes::Ordinary::OP_PUSHDATA1) => 2,
|
||||
opcodes::Class::Ordinary(opcodes::Ordinary::OP_PUSHDATA2) => 3,
|
||||
opcodes::Class::Ordinary(opcodes::Ordinary::OP_PUSHDATA4) => 5,
|
||||
_ => 1
|
||||
_ => 1,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue