From 12f77ce9af9e1252d38aaa5c73d050343b548fd2 Mon Sep 17 00:00:00 2001 From: Arthur Roberts Date: Sun, 14 Jul 2024 17:25:11 +0100 Subject: [PATCH] Added an "update all" function Probably not really worth a whole commit --- src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 2ce549e..0a7094d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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)] mod tests { use super::*;