I want to get Bitcoin address from pubkey_hash. I am using the following code:
import util
hash = '62E907B15CBF27D5425399EBF6F0FB50EBB88F18'
print util.hash_to_address("00", hash)
Expected result:
1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
Current result:
6GEZdxx5UiTk3U3LaLfsWwRaFAvXEpPNS5R4mqsJDXVJcTNNngTyB5i9S76MLTq
Need help.