originSignaturePayload method

Uint8List originSignaturePayload()

Implementation

Uint8List originSignaturePayload() {
  final Uint8List payloadForPreviousSignature = previousSignaturePayload();
  return concatUint8List(<Uint8List>[
    payloadForPreviousSignature,
    Uint8List.fromList(hexToUint8List(previousPublicKey!)),
    Uint8List.fromList(
        <int>[Uint8List.fromList(hexToUint8List(previousSignature!)).length]),
    Uint8List.fromList(hexToUint8List(previousSignature!)),
  ]);
}