Skip to content

Commit d4fa43e

Browse files
authored
Merge pull request #7343 from BitGo/COIN-6162
fix(sdk-coin-canton): fix transaction signable payload getter
2 parents 54eecc4 + 8d02499 commit d4fa43e

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)