Skip to content

Commit 263bf4a

Browse files
committed
Merge branch 'main' into issue-810-creds-address-behaviour
2 parents d8972e0 + e528069 commit 263bf4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/P2P/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ export class OceanP2P extends EventEmitter {
668668
const connection = await this._libp2p.dial(multiaddrs, options)
669669
if (connection.remotePeer.toString() !== peerId.toString()) {
670670
response.status.httpStatus = 404
671-
response.status.error = `Invalid peer on the other side: ${peerId}`
671+
response.status.error = `Invalid peer on the other side: ${connection.remotePeer.toString()}`
672672
P2P_LOGGER.error(response.status.error)
673673
return response
674674
}

0 commit comments

Comments
 (0)