verify plan not sig
This commit is contained in:
parent
75c37fcc73
commit
6677a7b66a
|
@ -25,7 +25,7 @@ impl Event {
|
|||
/// spending plan is valid.
|
||||
pub fn verify(&self) -> bool {
|
||||
match *self {
|
||||
Event::Transaction(ref tr) => tr.verify_sig(),
|
||||
Event::Transaction(ref tr) => tr.verify_plan(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue