Example #1
0
        public void AddressGetNetwork()
        {
            NetworkParameters networkParameters = Address.getParametersFromAddress("17kzeh4N8g49GFvdDzSf8PjaPfyoD1MndL");

            Assert.Equal(NetworkParameters.prodNet().getId(), networkParameters.getId());
            networkParameters = Address.getParametersFromAddress("n4eA2nbYqErp7H6jebchxAN59DmNpksexv");
            Assert.Equal(NetworkParameters.testNet().getId(), networkParameters.getId());
        }