From 4a57cd33008c272d98a63ba7df1a66f64351e0d6 Mon Sep 17 00:00:00 2001 From: Rob Walker Date: Tue, 30 Jul 2019 11:33:06 -0700 Subject: [PATCH] Update bank.rs --- runtime/src/bank.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index e6b3a10768..6489992f4c 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -48,7 +48,7 @@ use std::io::{BufReader, Cursor, Read}; use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; use std::sync::{Arc, RwLock, RwLockReadGuard}; -pub const SECONDS_PER_YEAR: f64 = (365.0 * 24.0 * 60.0 * 60.0); +pub const SECONDS_PER_YEAR: f64 = (365.25 * 24.0 * 60.0 * 60.0); type BankStatusCache = StatusCache>;