コード例 #1
0
ファイル: test_bitcoin.py プロジェクト: romeo1m/electrum-ltc
 def test_address_to_scripthash(self):
     for priv_details in self.priv_pub_addr:
         sh = address_to_scripthash(priv_details['address'])
         self.assertEqual(priv_details['scripthash'], sh)
コード例 #2
0
ファイル: test_bitcoin.py プロジェクト: nvk/electrum
 def test_address_to_scripthash(self):
     for priv_details in self.priv_pub_addr:
         sh = address_to_scripthash(priv_details['address'])
         self.assertEqual(priv_details['scripthash'], sh)