From b60ac4f725cbc2abbb4ac1042924a13bc944b371 Mon Sep 17 00:00:00 2001 From: zeroxbt Date: Thu, 31 Mar 2022 23:32:49 +0200 Subject: [PATCH 1/2] add fix to search result routes --- external/libp2p-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};`); } From d061d6c7da880d0e15cae75cfaeb89dcf3a7e417 Mon Sep 17 00:00:00 2001 From: zeroxbt Date: Fri, 1 Apr 2022 09:07:08 +0200 Subject: [PATCH 2/2] bump version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {