Skip to content

Commit a829ed0

Browse files
committed
Fixed #501
1 parent 8ad08a3 commit a829ed0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/model/transaction/Transaction.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,11 @@ export abstract class Transaction {
235235
}
236236

237237
/**
238-
* @internal
239238
* Generate signing bytes
240239
* @param payloadBytes Payload buffer
241240
* @param generationHashBytes GenerationHash buffer
242241
*/
243-
protected getSigningBytes(payloadBytes: number[], generationHashBytes: number[]) {
242+
public getSigningBytes(payloadBytes: number[], generationHashBytes: number[]) {
244243
const byteBufferWithoutHeader = payloadBytes.slice(4 + 64 + 32 + 8);
245244
if (this.type === TransactionType.AGGREGATE_BONDED || this.type === TransactionType.AGGREGATE_COMPLETE) {
246245
return generationHashBytes.concat(byteBufferWithoutHeader.slice(0, 52));

0 commit comments

Comments
 (0)