Skip to content

Commit 8d02499

Browse files
committed
fix(sdk-coin-canton): fix transaction signable payload getter
Ticket: COIN-6162
1 parent 08adced commit 8d02499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/sdk-coin-canton/src/lib/transaction/transaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ export class Transaction extends BaseTransaction {
6666
return result;
6767
}
6868

69-
getSignablePayload(): Buffer {
69+
get signablePayload(): Buffer {
7070
if (!this._prepareCommand) {
7171
throw new InvalidTransactionError('Empty transaction data');
7272
}
73-
return Buffer.from(this._prepareCommand.preparedTransactionHash);
73+
return Buffer.from(this._prepareCommand.preparedTransactionHash, 'base64');
7474
}
7575

7676
fromRawTransaction(rawTx: string): void {

0 commit comments

Comments
 (0)