@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
15 lines • 493 B
JavaScript
// TODO: to remove once live-app-sdk is depreciated and removed from LL
const CAN_EDIT_FEES = false;
const convertToLiveTransaction = (tx) => ({
...tx,
era: tx.era ? `${tx.era}` : undefined,
});
const getPlatformTransactionSignFlowInfos = (tx) => {
return {
canEditFees: CAN_EDIT_FEES,
liveTx: convertToLiveTransaction(tx),
hasFeesProvided: false,
};
};
export default { getPlatformTransactionSignFlowInfos };
//# sourceMappingURL=platformAdapter.js.map