Open christroutner opened 2 years ago
One thing that would make this issue better, is if the encryptMsg() function did input validation on the peer
object. At the least, it should throw an error if the peer
object does not have a data
property.
From Sam: I've been playing with the web3 infra and been running into an issue when choosing the localhost:5005 as resetServer. It works fine with the "free-bch.fullstack..." URL but im getting a timeout error when choosing my copy of the waller-service. Im monitoring the ipfs-bch-wallet-consumer locally and ipfs-bch-wallet-service via ssh.
This is the message that appears in the ipfs-bch-wallet-service live logs as I send a request:
It looks like the error is originating from ipfs-coord, here:
https://github.com/Permissionless-Software-Foundation/ipfs-coord/blob/a44140bf22338c8d8b8c504e70197c716a39d3e7/lib/adapters/encryption-adapter.js#L59-L81
This line: https://github.com/Permissionless-Software-Foundation/ipfs-coord/blob/a44140bf22338c8d8b8c504e70197c716a39d3e7/lib/adapters/encryption-adapter.js#L65