Skip to content

Commit

Permalink
Runtime: Use internal portname when looking up on component
Browse files Browse the repository at this point in the history
Happened to work in tests just because exported name
was same as the port name of node/component
  • Loading branch information
jonnor committed Aug 23, 2017
1 parent 86f2ab1 commit c0b8665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protocol/Runtime.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ findPort = (network, name, inPort) ->
return unless internal?.process
component = network.getNode(internal.process)?.component
return unless component
return component.inPorts[name] if inPort
return component.outPorts[name]
return component.inPorts[internal.port] if inPort
return component.outPorts[internal.port]

portToPayload = (pub, internal, network, inPort) ->
def =
Expand Down

0 comments on commit c0b8665

Please sign in to comment.