Skip to content

Commit

Permalink
fix(sdk-coin-ton): add logging for single nom (Ticket: SC-372)
Browse files Browse the repository at this point in the history
  • Loading branch information
quarterdill committed Oct 26, 2024
1 parent 3c01812 commit 9093440
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/sdk-coin-ton/src/lib/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ export class Transaction extends BaseTransaction {
// payload is a withdraw txn message
const queryId = payload.substring(8, 24);
const withdrawAmount = payload.substring(24);
/* eslint-disable-next-line no-console */
console.log(`payload: ${payload}, queryId: ${queryId}, withdrawAmount: ${withdrawAmount}`);
payloadCell.bits.writeUint(parseInt(WITHDRAW_OPCODE, 16), 32);
payloadCell.bits.writeUint(parseInt(queryId, 16), 64);
payloadCell.bits.writeCoins(new BN(withdrawAmount));
Expand Down

0 comments on commit 9093440

Please sign in to comment.