use crate::lazy_static; use std::sync::atomic::AtomicU32; // this counter ensures no one adds more // than 1 reward transaction in a block lazy_static! { pub static ref COUNTER: AtomicU32 = AtomicU32::new(0); }