fix ContractHash#compute_data for p2sh type