mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-22 00:18:10 -07:00
global: snapshot
This commit is contained in:
@@ -46,8 +46,8 @@ const BOUND_CAP: usize = 50;
|
||||
pub struct Reader(Arc<ReaderInner>);
|
||||
|
||||
impl Reader {
|
||||
pub fn new(blocks_dir: PathBuf, client: Client) -> Self {
|
||||
Self(Arc::new(ReaderInner::new(blocks_dir, client)))
|
||||
pub fn new(blocks_dir: PathBuf, client: &Client) -> Self {
|
||||
Self(Arc::new(ReaderInner::new(blocks_dir, client.clone())))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user