OperationHash constructor

OperationHash(
  1. int? block,
  2. int? account,
  3. int? nOperation,
  4. Uint8List md160,
)

Implementation

OperationHash(this.block, int? account, this.nOperation, this.md160) {
  this.account = AccountNumber.fromInt(account);
  if (md160.lengthInBytes != 20) {
    throw Exception('Invalid operation hash - md160 size != 20 bytes.');
  }
}