Impl Default for Network, as Mainnet

This commit is contained in:
Deirdre Connolly 2020-04-15 02:43:24 -04:00 committed by Deirdre Connolly
parent e83cddf4c6
commit 6dc0830ea6
1 changed files with 6 additions and 0 deletions

View File

@ -35,3 +35,9 @@ pub enum Network {
/// The testnet.
Testnet,
}
impl Default for Network {
fn default() -> Self {
Network::Mainnet
}
}