Impl Default for Network, as Mainnet
This commit is contained in:
parent
e83cddf4c6
commit
6dc0830ea6
|
@ -35,3 +35,9 @@ pub enum Network {
|
|||
/// The testnet.
|
||||
Testnet,
|
||||
}
|
||||
|
||||
impl Default for Network {
|
||||
fn default() -> Self {
|
||||
Network::Mainnet
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue