mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-26 23:59:58 -07:00
parser: fix binance time
This commit is contained in:
@@ -530,7 +530,8 @@ How to fix this:
|
||||
previous_timestamp: Option<u32>,
|
||||
) -> color_eyre::Result<OHLC> {
|
||||
if self.binance_har.is_none() {
|
||||
self.binance_har.replace(Binance::read_har_file()?);
|
||||
self.binance_har
|
||||
.replace(Binance::read_har_file().unwrap_or_default());
|
||||
}
|
||||
|
||||
Self::find_height_ohlc(
|
||||
|
||||
Reference in New Issue
Block a user