hasWitnesses method

bool hasWitnesses()

Implementation

bool hasWitnesses() {
  try {
    Input? witness =
        ins.firstWhereOrNull((input) => input?.witness != null && input!.witness!.length != 0);
    return witness != null;
  } catch (e) {
    print(e);
    throw (e);
  }
}