verify plan not sig

This commit is contained in:
Anatoly Yakovenko
2018-05-25 00:12:44 -07:00
committed by Greg Fitzgerald
parent 75c37fcc73
commit 6677a7b66a

View File

@ -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(),
}
}
}