diff --git a/external/libp2p-service.js b/external/libp2p-service.js index 6305f1740b..375c263128 100644 --- a/external/libp2p-service.js +++ b/external/libp2p-service.js @@ -224,7 +224,7 @@ class Libp2pService { this.logger.info(`Sending response from ${this.config.id} to ${remotePeerId}: event=${eventName};`); const result = await handler(data); if (Date.now() <= timestamp + timeout) { - await this.sendMessage(`${eventName}/result/1.0.0`, result, handlerProps.connection.remotePeer); + await this.sendMessage(`${eventName}/result`, result, handlerProps.connection.remotePeer); } else { this.logger.warn(`Too late to send response from ${this.config.id} to ${remotePeerId}: event=${eventName};`); } diff --git a/package-lock.json b/package-lock.json index 2c1e697215..48242993e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "origintrail_node", - "version": "6.0.0-beta.1.33-hotfix.1", + "version": "6.0.0-beta.1.33-hotfix.2", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 7e3602c2f7..4aefce3c18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "origintrail_node", - "version": "6.0.0-beta.1.33-hotfix.1", + "version": "6.0.0-beta.1.33-hotfix.2", "description": "OTNode v6 Beta 1", "main": "index.js", "scripts": {