@ledgerhq/coin-tezos
Version:
11 lines • 485 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.broadcast = void 0;
const operation_1 = require("@ledgerhq/coin-framework/operation");
const logic_1 = require("../logic");
const broadcast = async ({ signedOperation: { operation, signature }, }) => {
const hash = await (0, logic_1.broadcast)(signature);
return (0, operation_1.patchOperationWithHash)(operation, hash);
};
exports.broadcast = broadcast;
//# sourceMappingURL=broadcast.js.map