@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
17 lines • 573 B
JavaScript
;
// TODO: to remove once live-app-sdk is depreciated and removed from LL
Object.defineProperty(exports, "__esModule", { value: true });
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,
};
};
exports.default = { getPlatformTransactionSignFlowInfos };
//# sourceMappingURL=platformAdapter.js.map