def calc_merkle_root(self):
    hashes = []
    for tx in self.vtx:
        tx.calc_sha256()
        hashes.append(ser_uint256(tx.sha256))
    return self.get_merkle_root(hashes)
def calc_merkle_root(self):
    hashes = []
    for tx in self.vtx:
        tx.calc_sha256()
        hashes.append(ser_uint256(tx.sha256))
    return self.get_merkle_root(hashes)