treeHash method

Future<Puzzlehash> treeHash()

obtain the program hash

Implementation

Future<Puzzlehash> treeHash() async {
  final innerBytes =
      await api.programTreeHash(serProgramBytes: await _programBytes);
  return Puzzlehash(innerBytes);
}