Added an "update all" function
Probably not really worth a whole commit
This commit is contained in:
@@ -157,6 +157,13 @@ pub fn update_xmr_blockheight() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn update_all_blockheights() {
|
||||||
|
update_bsv_blockheight();
|
||||||
|
update_btc_blockheight();
|
||||||
|
update_eth_blockheight();
|
||||||
|
update_xmr_blockheight();
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|||||||
Reference in New Issue
Block a user