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.
2 parents 54eecc4 + 8d02499 commit d4fa43eCopy full SHA for d4fa43e
modules/sdk-coin-canton/src/lib/transaction/transaction.ts
@@ -66,11 +66,11 @@ export class Transaction extends BaseTransaction {
66
return result;
67
}
68
69
- getSignablePayload(): Buffer {
+ get signablePayload(): Buffer {
70
if (!this._prepareCommand) {
71
throw new InvalidTransactionError('Empty transaction data');
72
73
- return Buffer.from(this._prepareCommand.preparedTransactionHash);
+ return Buffer.from(this._prepareCommand.preparedTransactionHash, 'base64');
74
75
76
fromRawTransaction(rawTx: string): void {
0 commit comments