We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ad08a3 commit a829ed0Copy full SHA for a829ed0
src/model/transaction/Transaction.ts
@@ -235,12 +235,11 @@ export abstract class Transaction {
235
}
236
237
/**
238
- * @internal
239
* Generate signing bytes
240
* @param payloadBytes Payload buffer
241
* @param generationHashBytes GenerationHash buffer
242
*/
243
- protected getSigningBytes(payloadBytes: number[], generationHashBytes: number[]) {
+ public getSigningBytes(payloadBytes: number[], generationHashBytes: number[]) {
244
const byteBufferWithoutHeader = payloadBytes.slice(4 + 64 + 32 + 8);
245
if (this.type === TransactionType.AGGREGATE_BONDED || this.type === TransactionType.AGGREGATE_COMPLETE) {
246
return generationHashBytes.concat(byteBufferWithoutHeader.slice(0, 52));
0 commit comments