chore: make waitForRemotePeer
part of the waku
interface
#1761
Labels
enhancement
New feature or request
waitForRemotePeer
part of the waku
interface
#1761
This is a change request
Problem
The current
waitForRemotePeer
utility takes inwaku
as the first argument. This function needs to be imported separately and then the node is passed to this function.Proposed Solutions
It is much easier to just make
waitForRemotePeer
part of thewaku
class, and directly callable likenode.waitForRemotePeer()
thus also reducing one argument passed to the function.The text was updated successfully, but these errors were encountered: