4331834003
* Move tests -> testing * Directory restructure * Update Cargo.toml during restructure * Update Makefile during restructure * Fix arbitrary path
16 lines
358 B
Rust
16 lines
358 B
Rust
macro_rules! verify {
|
|
($condition: expr, $result: expr) => {
|
|
if !$condition {
|
|
return Err(crate::per_block_processing::errors::BlockOperationError::invalid($result));
|
|
}
|
|
};
|
|
}
|
|
|
|
macro_rules! block_verify {
|
|
($condition: expr, $result: expr) => {
|
|
if !$condition {
|
|
return Err($result);
|
|
}
|
|
};
|
|
}
|