def test_hash_160_to_address(self): self.assertEqual(hash_160_to_address(None), None) self.assertEqual(hash_160_to_address('04e9fca1'.decode('hex')), None) self.assertEqual( hash_160_to_address( '04e9fca1f96e021dfaf35bbea267ec2c60787c1b1337'.decode('hex')), None)
def test_hash_160_to_address(self): self.assertEqual(hash_160_to_address(None), None) self.assertEqual(hash_160_to_address('04e9fca1'.decode('hex')), None) self.assertEqual( hash_160_to_address( '04e9fca1f96e021dfaf35bbea267ec2c60787c1b1337'.decode('hex')), None) self.assertEqual( hash_160_to_address( '1ad3b0b711f211655a01142fbb8fecabe8e30b93'.decode('hex')), '13SrAVFPVW1txSj34B8Bd6hnDbyPsVGa92')
def test_hash_160_to_address(self): self.assertEqual(hash_160_to_address(None), None) self.assertEqual(hash_160_to_address('04e9fca1'.decode('hex')), None) self.assertEqual(hash_160_to_address('04e9fca1f96e021dfaf35bbea267ec2c60787c1b1337'.decode('hex')), None) self.assertEqual(hash_160_to_address('32c4f4f7bb7ae8e5b1476cd04b5ce7c5ad52286d'.decode('hex')),'iXSa9ajrBhKcGZHUDKoJ7p7qsJGEMgXBh8')
def test_hash_160_to_address(self): self.assertEqual(hash_160_to_address(None), None) self.assertEqual(hash_160_to_address('04e9fca1'.decode('hex')), None) self.assertEqual(hash_160_to_address('04e9fca1f96e021dfaf35bbea267ec2c60787c1b1337'.decode('hex')), None) self.assertEqual(hash_160_to_address('1ad3b0b711f211655a01142fbb8fecabe8e30b93'.decode('hex')), 'fGZ9hoZkwe38ecyGP2mTh1ZX1XT1QWLai9')
def test_hash_160_to_address(self): self.assertEqual(hash_160_to_address(None), None) self.assertEqual(hash_160_to_address('04e9fca1'.decode('hex')), None) self.assertEqual(hash_160_to_address('04e9fca1f96e021dfaf35bbea267ec2c60787c1b1337'.decode('hex')), None) self.assertEqual(hash_160_to_address('ce2a79d5c9d8ba7096d218fb82aa16f01e6dff48'.decode('hex')),'Sg677dvc44YEV8u5nTo1STR7P51ikfBDzm')
def test_hash_160_to_address(self): self.assertEqual(hash_160_to_address(None), None) self.assertEqual(hash_160_to_address('04e9fca1'.decode('hex')), None) self.assertEqual(hash_160_to_address('04e9fca1f96e021dfaf35bbea267ec2c60787c1b1337'.decode('hex')), None) self.assertEqual(hash_160_to_address('1ad3b0b711f211655a01142fbb8fecabe8e30b93'.decode('hex')), '13SrAVFPVW1txSj34B8Bd6hnDbyPsVGa92')
def test_hash_160_to_address(self): self.assertEqual(hash_160_to_address(None), None) self.assertEqual(hash_160_to_address('04e9fca1'.decode('hex')), None) self.assertEqual(hash_160_to_address('04e9fca1f96e021dfaf35bbea267ec2c60787c1b1337'.decode('hex')), None) self.assertEqual(hash_160_to_address('1ad3b0b711f211655a01142fbb8fecabe8e30b93'.decode('hex')), 'LMfoRhZDaAFxDFRCEK7Uu7mYRpLg3BuCoQ')