We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04754fe commit e4e534eCopy full SHA for e4e534e
src/chain/mod.rs
@@ -160,9 +160,9 @@ impl ElectrumRuntimeStatus {
160
*self = Self::new()
161
}
162
163
- pub(crate) fn client(&self) -> Option<Arc<ElectrumRuntimeClient>> {
+ pub(crate) fn client(&self) -> Option<&Arc<ElectrumRuntimeClient>> {
164
match self {
165
- Self::Started(client) => Some(Arc::clone(&client)),
+ Self::Started(client) => Some(&client),
166
Self::Stopped { .. } => None,
167
168
0 commit comments