Skip to content

Commit

Permalink
fix: send properly nested transaction object
Browse files Browse the repository at this point in the history
  • Loading branch information
flocks committed May 17, 2024
1 parent dacad68 commit a74ef1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/ledger-live-common/src/families/tron/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const createTronTransaction = async (
};
const url = `${getBaseApiUrl()}/wallet/triggersmartcontract`;
const preparedTransaction = await post(url, txData);
return extendTronTxExpirationTimeBy10mn(preparedTransaction);
return extendTronTxExpirationTimeBy10mn(preparedTransaction.transaction);
} else {
// trx/trc10
const txData: SendTransactionData = {
Expand Down

0 comments on commit a74ef1e

Please sign in to comment.