Add ValidationRule::allows_modification()
This commit is contained in:
parent
ec447ca409
commit
e60ef13133
@ -310,6 +310,10 @@ impl ValidationRule {
|
||||
Ok(res)
|
||||
}
|
||||
|
||||
pub fn allows_modification(&self) -> bool {
|
||||
self.quorum > 0.0 && self.min_sig_member > 0.0
|
||||
}
|
||||
|
||||
pub fn is_satisfied(
|
||||
&self,
|
||||
field: &str,
|
||||
|
Loading…
x
Reference in New Issue
Block a user