darkwallet / python-obelisk

Pure Python Obelisk + Bitcoin client side library
GNU Affero General Public License v3.0
62 stars 50 forks source link

Use config script version for deserializing testnet P2SH addresses #18

Closed lastcanal closed 9 years ago

lastcanal commented 9 years ago

The mainnet script version (0x05) is hard coded into the deserialization methods for P2SH addresses. This PR uses the script_version from the chain config and allows testnet P2SH address to be deserialized.

veox commented 9 years ago

Looks OK.