Merge rust-bitcoin/rust-bitcoin#1674: Reexport `Magic`
76c4c647cf
Reexport `Magic` (Martin Habovstiak) Pull request description: Writing `network::Magic` is more natural and less annoying than `network::constants::Magic`, so this change reexports it. Closes #1667 ACKs for top commit: apoelstra: ACK76c4c647cf
tcharding: ACK76c4c647cf
Tree-SHA512: 1d85372ecd9723c0871faa4552ba5f93a3c95d0b213fa8aace398949f97157cdfde164bbcb2c35bae4c61ae0185e3fbdb854714cde0849c1afaf90e4e8ec223f
This commit is contained in:
commit
826a988be8
|
@ -33,3 +33,5 @@ pub mod message_filter;
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
|
||||||
pub mod message_network;
|
pub mod message_network;
|
||||||
|
|
||||||
|
pub use self::constants::Magic;
|
||||||
|
|
Loading…
Reference in New Issue