hasWitnessCommit method
Is Block Has Witness Commit
Implementation
bool hasWitnessCommit() {
if (witnessCommit != null && witnessCommit!.length == 32) {
return true;
}
if (getWitnessCommit() != null) return true;
return false;
}
Is Block Has Witness Commit
bool hasWitnessCommit() {
if (witnessCommit != null && witnessCommit!.length == 32) {
return true;
}
if (getWitnessCommit() != null) return true;
return false;
}