pub fn network_upgrade(&self) -> NetworkUpgrade {
        if let Some(network_upgrade_override) = self.network_upgrade_override {
            network_upgrade_override
        } else {
            NetworkUpgrade::current(self.network, self.height)
        }
    }
/// Returns the network upgrade for this ledger state.
///
/// If `network_upgrade_override` is set, it replaces the upgrade calculated
/// using `height` and `network`.
Returns the network upgrade for this ledger state.
Returns the network upgrade for this ledger state .
pub fn network_upgrade(&self) -> NetworkUpgrade {
        if let Some(network_upgrade_override) = self.network_upgrade_override {
            network_upgrade_override
        } else {
            NetworkUpgrade::current(self.network, self.height)
        }
    }
pub fn network_upgrade ( & self ) -> NetworkUpgrade { if let Some ( network_upgrade_override ) = self . network_upgrade_override { network_upgrade_override } else { NetworkUpgrade :: current ( self . network , self . height ) } }
Returns the network upgrade for this ledger state.
Returns the network upgrade for this ledger state .
&self