macro_rules! require_gte {
( $left:expr, $right:expr, $err:expr ) => { ... };
( $left:expr, $right:expr ) => { ... };
}Expand description
Assert left >= right, returning the supplied error on underrun.
Useful for lamport / balance checks.
macro_rules! require_gte {
( $left:expr, $right:expr, $err:expr ) => { ... };
( $left:expr, $right:expr ) => { ... };
}Assert left >= right, returning the supplied error on underrun.
Useful for lamport / balance checks.