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 e33e007 commit 35ea57eCopy full SHA for 35ea57e
src/keyring/mod.rs
@@ -66,6 +66,11 @@ where
66
})
67
}
68
69
+ /// Get the [`Network`] corresponding to the [`KeyRing`]
70
+ pub fn network(&self) -> &Network {
71
+ &self.network
72
+ }
73
+
74
/// Add a descriptor. Must not be [multipath](miniscript::Descriptor::is_multipath).
75
/// This method returns [`DescriptorError`] if the provided descriptor is multipath, contains
76
/// hardened derivation steps (in case of public descriptors) or fails miniscripts sanity
0 commit comments