Skip to content

Commit e4e534e

Browse files
committed
f
1 parent 04754fe commit e4e534e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chain/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ impl ElectrumRuntimeStatus {
160160
*self = Self::new()
161161
}
162162

163-
pub(crate) fn client(&self) -> Option<Arc<ElectrumRuntimeClient>> {
163+
pub(crate) fn client(&self) -> Option<&Arc<ElectrumRuntimeClient>> {
164164
match self {
165-
Self::Started(client) => Some(Arc::clone(&client)),
165+
Self::Started(client) => Some(&client),
166166
Self::Stopped { .. } => None,
167167
}
168168
}

0 commit comments

Comments
 (0)