Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/model/transaction/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,11 @@ export abstract class Transaction {
}

/**
* @internal
* Generate signing bytes
* @param payloadBytes Payload buffer
* @param generationHashBytes GenerationHash buffer
*/
protected getSigningBytes(payloadBytes: number[], generationHashBytes: number[]) {
public getSigningBytes(payloadBytes: number[], generationHashBytes: number[]) {
const byteBufferWithoutHeader = payloadBytes.slice(4 + 64 + 32 + 8);
if (this.type === TransactionType.AGGREGATE_BONDED || this.type === TransactionType.AGGREGATE_COMPLETE) {
return generationHashBytes.concat(byteBufferWithoutHeader.slice(0, 52));
Expand Down