validate method

Future<bool> validate(
  1. int nonce
)

Implementation

Future<bool> validate(int nonce) async {
  final calculatedResult = await _calculate(nonce);
  return calculatedResult >= difficulty;
}