Add trait for saturating arithmetic (#15812)

* Add SaturatingArithmetic trait

* Use Duration saturating arithmetic

* Use new macro to fix poh_config
This commit is contained in:
Tyera Eulberg
2021-03-11 23:22:40 -07:00
committed by GitHub
parent cc38ae72e7
commit e5b644e830
4 changed files with 61 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ pub use solana_program::*;
pub mod account;
pub mod account_utils;
pub mod arithmetic;
pub mod builtins;
pub mod client;
pub mod commitment_config;