1

Error pageHi Guys I am facing following error "Failed to join all peers to channel. cause:TypeError: client.getEventHubsForOrg is not a function" while running node SDK setup any could help me I am running Balance transfer example

Error screen shot

1 Answers1

3

This should work.
In app/joinChannel.js
Replace let event_hubs = client.getEventHubsForOrg(org_name);
with let event_hubs = channel.getChannelEventHubsForOrg(org_name);

Subhod I
  • 172
  • 2
  • 7