mirror of
https://github.com/romanz/electrs.git
synced 2025-02-24 15:02:21 +01:00
Remove needless borrow
This commit is contained in:
parent
8cfdcb783b
commit
b2555ee891
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ pub struct Rpc {
|
|||
impl Rpc {
|
||||
/// Perform initial index sync (may take a while on first run).
|
||||
pub fn new(config: &Config) -> Result<Self> {
|
||||
let tracker = Tracker::new(&config)?;
|
||||
let tracker = Tracker::new(config)?;
|
||||
let rpc_duration = tracker.metrics().histogram_vec(
|
||||
"rpc_duration",
|
||||
"RPC duration (in seconds)",
|
||||
|
|
Loading…
Add table
Reference in a new issue